3 Replies Latest reply: Sep 10, 2012 4:44 AM by whiteline _

# 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 ?

I'm really confused

Gr.

• ###### Re: comparing different months

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

And I guess some new features of QV11.

• ###### Re: comparing different months

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

Do you have an example ?

• ###### Re: comparing different months

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').