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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
AndrewAshdown
Contributor
Contributor

Year over Year calculation in table.

Hello,

I have a table which I am trying to add a Year Over Year calculations by calendar week.

Product_ID Week Year Revenue RevenueYOY
1

50

2021 4.61  
1 51 2021

5.80

 
1 50 2022 4.29  
1 51 2022 2.98  

 

Basically in the RevenueYOY column for week 50, year 2022 I would like it to display 4.61, and for week 51, year 2022 I would like it to display 5.80.

I have tried various set analysis functions, but am struggling to find a solution that works.

Any help would be greatly appreciated .

 

Labels (3)
0 Replies