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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis

Hi everyone;

I need to get the sum about all orders different with description 'ON HOLD'  the dimention that have this description is called Delay_Days:

i was trying inside of a text-box-component but doesn't work this way:

= if(Delay_Days<> 'ON HOLD',Sum({$<ORDENES={'On Time'} >} NumberofLines),0)

OTHER WAY:

Sum (IF(Delay_Days<> 'ON HOLD',({$<ORDENES={'On Time'} >} NumberofLines),0)

BOTH WAYS doesn' t can you help please!!!!!

  

4 Replies
Not applicable
Author

This may do it, but you'll need to qa the result to make sure it's working as expected:

sum({$<ORDENES={'On Time'} >} if(Delay_Days<> 'ON HOLD', NumberofLines))

Best,

Matt

Not applicable
Author

thanks for your help but may be there are something wrong in my script because doesn't work ok anywhere thanks very much 

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try: Sum ({$<ORDENES={'On Time'},Delay_Days -= {'ON HOLD'} >} NumberofLines). The -= means unequal.


talk is cheap, supply exceeds demand
Not applicable
Author

Ok I will try !!! thanks very much for your help!!!!