Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

comparing different months

Dear all,

I'm in the middle of the troubles, because I've a strange request from my sales manager. He wants to compare two different months in different years.

For example:

he wants to match sales data between June 2012 with December 2011

Is there a method to solve it ?

Thanks in advance for your help

I'm really confused

Gr.

3 Replies
whiteline
Master II
Master II

Set analysis and two separate fields for periods selection (If you use QV10).

And I guess some new features of QV11.

Anonymous
Not applicable
Author

I'm using the QV10 PE, but I'm newer and not versed in set analisys.

Do you have an example ?

Thanks in advance

whiteline
Master II
Master II

Consider you have two separate tables with two fields for periods selection.

'Period1' and 'Period2'

Let's also assume that your period field named 'Period'.

Then to calculate the sum of some Value for Period1 you can use expression:

=SUM({<Period=P(Period1)>} Value)

And for Period2

=SUM({<Period=P(Period2)>} Value)

respectively.

You can find more examples in help (look for 'set analysis').