Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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
Partner - Champion III
Partner - Champion III

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