Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
suvechha_b
Creator III
Creator III

How to get the total in the expression ?

Hi All ,

Please see the first column "Export Only - Net Stock Available" is not having sum in the above.

Capture.PNG

But when I am select distributor as 'ASPEN' the total sum is showing.

Capture1.PNG

My Requirement is that , the model should show the total even if I don't select the distributor in filter.

I have attached the sample model.

Thanks,

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Just remove the IF conditional part from your expression.

=if(distributor='ASPEN',sum({<[plant_code]={'TEX','IFG','STX'}>}$(vMeasure)),0)

View solution in original post

1 Reply
tresB
Champion III
Champion III

Just remove the IF conditional part from your expression.

=if(distributor='ASPEN',sum({<[plant_code]={'TEX','IFG','STX'}>}$(vMeasure)),0)