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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sale Difference in Two Years

hi all...

I am a newbie in qlikview ,

So, please tell me how we Calculate Sale Difference for two years.

Hope for help....

thanx in advance.......

Best Regards --

Shekhar Munjal

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

Hi Shekhar

According to Your question , You can use set analysis

current year sales= sum({$<Year={$(=Max(Year))}>}Sales)

previous Year Sales= sum({$<Year={$(=Max(Year)-1)}>}Sales)

now

column(2)-column(1)

hope it works

Thanks

View solution in original post

2 Replies
Not applicable
Author

Hi Shekhar

According to Your question , You can use set analysis

current year sales= sum({$<Year={$(=Max(Year))}>}Sales)

previous Year Sales= sum({$<Year={$(=Max(Year)-1)}>}Sales)

now

column(2)-column(1)

hope it works

Thanks

Not applicable
Author

hi Vimlesh ...

this Expression start works for me ...

thanx.......

Best Regards --

Shekhar Munjal