Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Sxbbb
Creator III
Creator III

I want the Total value including all three types

I have field : TypeStatus

Sxbbb_0-1687397943632.png

 

The value can usually be obtained from the code :

Sxbbb_1-1687397943671.png

 

Sxbbb_2-1687397943832.png

 

Sxbbb_3-1687397943631.png

 

Result :

Sxbbb_4-1687397943635.png

 

value came out correct But I want the Total value including all three types, 'OUTER' and 'AFTER_PRESS' and 'PLATE_PANEL'. 

I tried the code but the value is incorrect

Sxbbb_5-1687397943677.png

 

Result but the value is incorrect  

Sxbbb_6-1687397943647.png

 

Sxbbb_7-1687397943730.png

 

I want the Total value including all three types, 'OUTER' and 'AFTER_PRESS' and 'PLATE_PANEL'. 

 

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

When the "+" operator is used, a null value will cause the entire result to be null.  The more robust approach is to use RangeSum() instead of "+". 

RangeSum(Sum(...). Sum(...), Sum(...)

-Rob

View solution in original post

2 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

When the "+" operator is used, a null value will cause the entire result to be null.  The more robust approach is to use RangeSum() instead of "+". 

RangeSum(Sum(...). Sum(...), Sum(...)

-Rob

Sxbbb
Creator III
Creator III
Author

The value came out correct, thank you very much.