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

Show Previous year sale data corresponding current year

Dear Team,

Kindly help me for solving this problem.i stuck this requirmnet. i tried many times. but i didnot reach.Kindly help me.

For this i am sharing data.

REQUIRMENT IS SHOWING IN TABLE

YearSum(Sale)Previous Year SaleHeader 4
20142200Means 2013 Year Sale
201525002014 Sale means 2200
201626002015 Sale Means 2500
201727002600
201828002700
1 Solution

Accepted Solutions
sunny_talwar

Something like this?

Capture.PNG

Expression for previous year

=Above(Sum({<Year>}Sale)) * Avg(1)

View solution in original post

2 Replies
sunny_talwar

Something like this?

Capture.PNG

Expression for previous year

=Above(Sum({<Year>}Sale)) * Avg(1)

Anil_Babu_Samineni

How about this?

Above(Sum(Sale)) * Avg(1)


Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful