title: can we get value of above cell of same column of table in ssrs report builder? How?
body: <p>I have edited my question and replace the previous explanation with new one.
  I think I could't explain my problem clearly before. here is my scenario:</p>
  
  <pre><code>Col1  |Col2  |Col3  |Col4   |Col5  | Col6  
  ------|------|------|-------|------| 3333.00 (Table 1)  
  ------|------|------|  15.00|  0.00| 3348.00 (Table 2)  
  ------|------|------|   0.00|550.00| 2798.00 (Table 2)
       Sub ToTal:-----|  15.00|550.00| 2798.00 (Table 3)
  </code></pre>
  
  <p>In this report value (3,333.00) of Table 1 is Opening Balance. For Table2 and Table3, col4 is Deposit and Col5 is Withdraw. Last column of Table2 and Table3 are closing balance. So, the rule is, closing balance of first row of Table2 should be calculated as (ClosingBalance = OpeningBalance + Deposit - Withdrawal). and Closing Balance of 1st row should be opening Balance for second row. Table 3 has nothing to do with them.</p>
  
  <p>Now problem is that 3333.00 is coming from query so we can easily calculate 3348.00 but i dont know how to calculate 2798.00 as it required value of above cell which is 3348.00. similarly if Table 2 generate 10 rows than 1st value of last column should be calculated from 3333.00 and remaining rows will calculate their values from above cell i.e 2798.00 depends on 3348.00 and if there is next row than it will depend on 2798.00. so i have done this:</p>
  
  <pre><code>IIf(RowNumber(DatasetName) = 1, value of Table1(3333.00) + and remaining values to calculate 3348.00, Previous(ReportItems!MyTextBoxName.Value) + other values)
  </code></pre>
  
  <p>Now it gives me error:</p>
  
  <blockquote>
    <p>The Value expression for the textrun 'Amount8.Paragraphs[0].TextRuns[0]' uses an aggregate function on a report item.  Aggregate functions can be used only on report items contained in page headers and footers.</p>
  </blockquote>
  
  <p>I searched over different forums and found out that I can't use ReportItems in this scenario. So, what should I do?</p>
  
  <p>I know my scenario is complicated and its more complicated to explain it but I tried my best. Please tell me any solution you have.</p>