Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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

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