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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
deepakgs21
Contributor
Contributor

Percentage Difference Calculation in multiple line chart

Hi Team,

I have scenario where I have plotted Line chart using X Axis - Year, Y Axis Metric - Spend and I used one more dimension to split the spend by multiple lines. This is a native Qlik line chart.

Now I need some help to get Percentage difference in each line(delta between current data point to previous data point) belong to each year.

deepakgs21_0-1715949808543.png

 

I tried using Sum(Spend)-Above(Sum(Spend),1) / Above(Sum(Spend),1) . This is working fine when there is only one line but not working when there are multiple line.

How do I calculate the % difference. Need help.

Best,

Deepak

Labels (1)
2 Replies
SunilChauhan
Champion II
Champion II

deepakgs21
Contributor
Contributor
Author

Hi Sunil, I don't want to go with any other chart, instead I need to calculate the percentage difference for each line. Is it possible or not?