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: 
deeavhad
Contributor
Contributor

Total is not calculating due to some null

My Expression is below

((sum({<UKI_ES_State={'Cancelled', 'Closed Complete', 'Resolved'}>} if(UKI_ES_State='Cancelled',5,if(Match([UKI_ES_Items],'0'),1,[UKI_ES_Items])))+NullCount({<UKI_ES_State={'Cancelled', 'Closed Complete', 'Resolved'}>}if(UKI_ES_State='Cancelled',5,if(Match([UKI_ES_Items],'0'),1,[UKI_ES_Items]))))*Sum([SN AHT]))/20
+ if((if([Audit Group]='Comp - Group B',QA_AHT,QA_AHT*Volumes)/20)=Null(),0,if([Audit Group]='Comp - Group B',QA_AHT,QA_AHT*Volumes)/20)

+(sum(AHT_AA)+sum({<[Activity Type]={'Production'}>}Minutes))/20

these are 3 measure which I am trying to add by plus(+) sign but its not calculating where one of the measure is null

deeavhad_0-1635337001432.png

in this screenshot I am trying to add column "Processing EQ", "QA EQ" and "Adhoc+Aloocation+Production"

Please help me to get this total if one of the column is blank

 

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try using RangeSum() instead, like: Rangesum(col1, col2, col3)

View solution in original post

3 Replies
tresesco
MVP
MVP

Try using RangeSum() instead, like: Rangesum(col1, col2, col3)

deeavhad
Contributor
Contributor
Author

I tried it but not worked

Digvijay_Singh

May be use Coalesce() for the measure which might give null value.

I normally use Column(1) + Column(2) + .... but some don't prefer that because change of position of measures might break it sometimes..