Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Go-Anna
Contributor III
Contributor III

Ytd values using AGGR()?

Hi!

I have a pivot table and would like to show one column with the 'Price' per 'Period' and one column with YTD sum of 'Price' ie ackumulated sum per period.

 

Can someone help me work out how to achive the desired YTD columns?

YTD data.JPG

Thanks,

Labels (3)
1 Solution

Accepted Solutions
Go-Anna
Contributor III
Contributor III
Author

I solved it using range instead 🙂

RangeSum(Before(Sum([Price (SEK)]), 0, ColumnNo()))

View solution in original post

1 Reply
Go-Anna
Contributor III
Contributor III
Author

I solved it using range instead 🙂

RangeSum(Before(Sum([Price (SEK)]), 0, ColumnNo()))