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: 
djallelsadki
Partner - Creator
Partner - Creator

Sum of Rows in pivot table

Hello,


I have a pivot table, with :


Three dimensions "X", "Y", "Z" and one expression wich calculates the sum of the field "H"


A variable "V" filled through a slider


In my expression i have


if (sum (H)> V, sum (H))


The problem is in the total


expression works well but the total does not change, I would like to have the sum of rows and not the expression total


see the attachment file


Thank you for your answers

1 Solution

Accepted Solutions
Sokkorn
Master
Master

Hi,

Try to change your expression from if(sum(H)>V,sum(H)) to SUM(if(H>V,H,0))

Hope this work.

Regards,

Sokkorn Cheav

View solution in original post

2 Replies
Not applicable

Hi,

see your modified example.

Good luck!

Rainer

Sokkorn
Master
Master

Hi,

Try to change your expression from if(sum(H)>V,sum(H)) to SUM(if(H>V,H,0))

Hope this work.

Regards,

Sokkorn Cheav