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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Set Expression

Hi Friends

sum (if(Len( Trim( NP_REFUND_DATE ) ) > 0 ,TOTAL))

my above set expression is working fine. But my following one is not working

sum (if(Len( Trim( NP_REFUND_DATE ) ) > 0  or if(Len( Trim( REFUND_DATE ) ) > 0,TOTAL)))

Pls help me to correct my above expression

Labels (1)
1 Solution

Accepted Solutions
antoniotiman
Master III
Master III

Try :

sum (if(Len( Trim( NP_REFUND_DATE ) ) > 0  or Len( Trim( REFUND_DATE ) ) > 0,TOTAL))

View solution in original post

3 Replies
antoniotiman
Master III
Master III

Try :

sum (if(Len( Trim( NP_REFUND_DATE ) ) > 0  or Len( Trim( REFUND_DATE ) ) > 0,TOTAL))

upaliwije
Creator II
Creator II
Author

Thanks a lot

fkeuroglian
Partner - Master
Partner - Master

Hi, try this

=if(len(trim(NP_REFUND_DATE))>0 or len(trim(REFUND_DATE))>0, sum(TOTAL))

Fernando