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: 
Not applicable

Calculate difference between data in columns of pivot table.

Hi,

I want to calculate difference between two columns/dimensions generated in a pivot table.

Thanks in advance for the help

Regards,

Utsav

1 Solution

Accepted Solutions
MayilVahanan

Hi

If you have two expression and for third expression, you want to calculate the difference between them means, you can use like this

=Column(1) - Column(2)

But not for dimension..

Column(1) takes the first expression used in the straight/pivot table,

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

View solution in original post

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

diff1-3 = column(1) - column(3)


talk is cheap, supply exceeds demand
MayilVahanan

Hi

If you have two expression and for third expression, you want to calculate the difference between them means, you can use like this

=Column(1) - Column(2)

But not for dimension..

Column(1) takes the first expression used in the straight/pivot table,

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

Thank You for the valuable inputs.