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: 
Anonymous
Not applicable

YoY Difference and Growth

Hello everyone,

I'm looking for a method to visualize the difference between two years in a pivot table.

This is what I would like to get:

example.PNG

I tried this formula:

Sum( { $<[DocumentYear]={$(=max(DocumentYear))}>}  Revenue)

- Sum( { $<[DocumentYear]={$(=max(DocumentYear)-1)}>}  Revenue)

This is what I get:

example2.PNG

I guess each column filters the data for the choosen year and it is not possible to use the formula for my case.

Do you know a method for my case?

Thank you in advance!

0 Replies