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: 
marcobombo
Contributor
Contributor

Pivot table: Percentage difference between columns on the same dimension

Hi,

I have this problem. I want to make the percentage difference between the columns in a pivot table on the same dimension (Year).

It is possible?

I attache the example.

Thanks

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

1-Before(sum(Value))/sum(Value) returns the variation

View solution in original post

4 Replies
Clever_Anjos
Employee
Employee

Before(sum(Value)) will bring you the value of left column

Clever_Anjos
Employee
Employee

1-Before(sum(Value))/sum(Value) returns the variation

sunny_talwar

This?

Capture.PNG

Probably too many hard-corded value and can somehow be automated

marcobombo
Contributor
Contributor
Author

The result is ok.