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: 
sunnybi
Contributor III
Contributor III

conditionnal sum

Hi Experts ,

Once again I need your help ! the case may look simple but I can't have the expected results .

 

In expression D ,in the table below , I'd like to have the total where expression C < 39. 

As you can see , the columns 2 and 3 in the expression D are excluded which is correct , but still haven't found out why the total don't show up. I tried to sum (aggr ( D expression,... ) but still.

Capture d’écran 2.png

 

the results is ok , in a straight table  : (had to change total properties from auto to Sum ) Capture d’écran 2.png

Thank you thousand time for your help

 

 

Labels (2)
1 Reply
Clement15
Partner - Specialist
Partner - Specialist

Hello,

You must use a formula of this form

sum( {<Dimension={"=sum(Measure)<39"}>}    Measure)

 

Clement15_0-1740045404479.png

Clement15_1-1740045417135.png