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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculating Yearwise Sales

Dear Folks,

              I have attached the excel sheet what i want to calculate in pivot table. can u please suggest me the expression ASAP.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

Please find the attached which I using Before() function to calculate different of the year.


View solution in original post

5 Replies
sujeetsingh
Master III
Master III

Unable to see the doc data .

Can you post a sample to me or explain in details

MayilVahanan

Hi

For that, you want to create separate expression.

Like

2010 =Sum({<Year = {2010}>}Sales)

2011 =Sum({<Year = {2011}>}Sales)

2011-2010 =Column(2) - Column(1)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Dear Folks,

This is the data i need

Year 2,0102011Diff(2011-2010)2012Diff(2012-2011)2013Diff(2013-2012)
Item
AAA 664210-4542756599-176
BBB 090901,2521,162607-645
CCC -6176786773-675
DDD 9,21030-9,18014,85214,822-35-14,887
Anonymous
Not applicable
Author

Hi,

Please find the attached which I using Before() function to calculate different of the year.


Not applicable
Author

Dear Jerry

           Thank u very much. thats what i want..

Regards

Sakthi.S