Qlik Community

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Now Live: Qlik Sense SaaS Simplified Authoring – Analytics Creation for Everyone: READ DETAILS
Showing results for 
Search instead for 
Did you mean: 
Contributor III
Contributor III

Compare rows in pivot table


I have 2 rows (a single dimension) in the pivot table which are calculated independently and need a 3rd one which will check whether value in the 1st or 2nd row is higher and choose the higher as the result in the 3rd row.



The columns are months.

What's the best approach to calculate the final 3rd row?

If I have calculations in variables, is there anything better than

if(vCalcDim1>vCalcdim2,vCalcDim1,vCalcDim2) ? 

This is really performance inefficient.

Thanks ,

0 Replies