Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis on past year total

Dear Community,

I need help on syntax in expression.  I have the total sales with the dimension by year, however, I don't know how to write the syntax which the total amount of current year divides by last year total sales of sum of 2 products.  

See whether anyone could help, I really appreciate on this. 

Thanks.

2 Replies
Gysbert_Wassenaar

If you're using year as a dimension then set analysis won't work. Try using the above() function or an AsOf table. See this document: Calculating rolling n-period totals, averages or other aggregations


talk is cheap, supply exceeds demand
Not applicable
Author

Hi,

PFA ,

Hope it helps you