Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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

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