Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
peisenrot
Contributor III
Contributor III

Above but take values from left not above

Hello, 

I would like to create a pivot table where a have the accumulation done from the values which are shown left of the line and not of above. if there a possibility to do that?

best regards

 

Pia

Labels (2)
1 Solution

Accepted Solutions
peisenrot
Contributor III
Contributor III
Author

aggr(rangesum(before(Sum({<Dataset={'NRE History'},DataVersion={'$(NRE_Baseline)'}>} Value)*-1+Sum({<Dataset={'NRE'},Period.Year={'2022'}>} Value)*-1)),
([Period.YearMonth],(NUMERIC, ASCENDING))) doesn't calucalte something

 

View solution in original post

2 Replies
Mark_Winter
Creator
Creator

Yes you can use before instead

peisenrot
Contributor III
Contributor III
Author

aggr(rangesum(before(Sum({<Dataset={'NRE History'},DataVersion={'$(NRE_Baseline)'}>} Value)*-1+Sum({<Dataset={'NRE'},Period.Year={'2022'}>} Value)*-1)),
([Period.YearMonth],(NUMERIC, ASCENDING))) doesn't calucalte something