Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Comparing years and months

Hey I am trying to compare sales by years and months meaning

February 2014 sales vs February 2013 sales how can I preform this?

And how can I show it on percentages?

I am adding a picture of my app

my table.PNG

14 Replies
reddy-s
Master II
Master II

No probelm,

So that would be :

1) sum(iv_cost) - assuming year 2014 is selected

2) sum({$< year = {'$(=num((GetFieldSelections(year) - 1), '###0' ))'}>} iv_cost)

Not applicable
Author

TNX alot you realiy helping me!!

Not applicable
Author

for some reason its still not working....

reddy-s
Master II
Master II

Hi Jhonatan,

The fields are case sensitive.

Can you attach the QVF if possible?

Thanks,

Sangram

Not applicable
Author

TRIED IT AGAIN AND IT WORKED!!! tnx alot!!!