Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
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,

1 Solution

Accepted Solutions
tresesco
MVP
MVP

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
tresesco
MVP
MVP

Just remove the IF conditional part from your expression.

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