Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Running total for groups

$
0
0

Hello,

I have a column that has an expression of running value .

But I notice that the running values runs through the entire report. Its not breaking it down base on the group.

See below the report.

ITEM NODESCCRIPTIONHSTMODUL QUANTITY Running Total 
AGO                             AGO-DIESEL                                                                                           POP N3,000,000.00 
  POP N500,000.00 3,000,000.00
  IV  N0.00 3,500,000.00
  IV  N0.00 3,494,998.90
  POP N120,000.00 3,494,498.79
  IV  N0.00 3,614,498.79
  POP 3,620,000.00 
  TotalPOP 3,620,000.00 
ATK                             ATK-AVIATION   FUEL                                                                                    IV  N0.00 3,615,504.57
  IV  0.00 
  TotalIV  0.00 
COMPUTER                        computer                                                                                             SOP N0.00 3,615,504.57
  SOP 0.00 
  TotalSOP 0.00 

But it should show  the report below

ITEM NODESCCRIPTIONHSTMODUL QUANTITY Running Total 
AGO                             AGO-DIESEL                                                                                           POP N3,000,000.00 
  POP N500,000.00 3,000,000.00
  IV  N0.00 3,500,000.00
  IV  N0.00 3,494,998.90
  POP N120,000.00 3,494,498.79
  IV  N0.00 3,614,498.79
  POP 3,620,000.00 
  TotalPOP 3,620,000.00 
ATK                             ATK-AVIATION   FUEL                                                                                    IV  N0.00                  -  
  IV  0.00 
  TotalIV  0.00 
COMPUTER                        computer                                                                                             SOP N0.00                  -  
  SOP 0.00 
  TotalSOP 0.00 

The expression I used for the running total is" =Previous(RunningValue(Fields!Amount.Value, sum,"DataSet1"))"

Please I  need help on the correct expression to be used.


Akintayo Kemi


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>