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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression to include previous year Sales

Hi All,

The required calculation is

Flow% = Sum(A) for the current Year / sum(B) of the previous year.

Can you please help me in acheving this keeping Year as Dimension. How can i acheive this in a Pivot table.

Flow% = Sum(A) of Tn / sum(B) of T(n-1)

2 Replies
sunny_talwar

May be this:

Sum(A)/Above(Sum(B))

sunny_talwar

Or even better, try this:

Sum(A)/(Above(Sum({<Year>}B)) * Avg(1))


Capture.PNG