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: 
BrianDH
Creator II
Creator II

Filter Single Value to display

Within my Qlik sheet/Table object

I need to show a single refund value based on filters. 

Example: =If(Bank_At_Flag = 'RFND', if(Paid_Amt <= 10.00, SUM(Paid_Amt)))

All I get in return is > - <.  

Using Qlik Sense browser based tool.

Thanks for the help!

 

B

2 Solutions

Accepted Solutions
Qrishna
Master
Master

 SUM({<Bank_At_Flag = {'RFND'}, Paid_Amt  = {'<=10.00'}>}Paid_Amt)

This expression sums up all the paid amount where  Bank_At_Flag = 'RFND' with 'Paid_Amt<=10.00'

 

Hope that helps.

 

K

View solution in original post

Yoshidaqlik
Creator II
Creator II

Hi,

Try:

SUM({<Bank_At_Flag = {'RFND'}, Paid_Amt  = {'<=10.00'}>} X_PAID_AMT)

 

 

Regards 

YoshidaQlik https://www.youtube.com/channel/UC1I9P8MqCZEhB6Nw3FdSqng

View solution in original post

7 Replies
bharathadde
Creator II
Creator II

Try this

=if(Paid_Amt <= 10.00, SUM({<Bank_At_Flag = {'RFND'}>}Paid_Amt))

Qrishna
Master
Master

 SUM({<Bank_At_Flag = {'RFND'}, Paid_Amt  = {'<=10.00'}>}Paid_Amt)

This expression sums up all the paid amount where  Bank_At_Flag = 'RFND' with 'Paid_Amt<=10.00'

 

Hope that helps.

 

K

BrianDH
Creator II
Creator II
Author

=SUM({}X_PAID_AMT)



I always get 0.



FYI: Validated with SQL my total should be ($1,258)
BrianDH
Creator II
Creator II
Author

=if(X_PAID_AMT <= 10.00, Sum({}X_PAID_AMT))



I always get -.



FYI: Validated with SQL my total should be ($1,258)


Yoshidaqlik
Creator II
Creator II

Hi,

Try:

SUM({<Bank_At_Flag = {'RFND'}, Paid_Amt  = {'<=10.00'}>} X_PAID_AMT)

 

 

Regards 

YoshidaQlik https://www.youtube.com/channel/UC1I9P8MqCZEhB6Nw3FdSqng
BrianDH
Creator II
Creator II
Author

 That is it!! 🙂   Thank You!

BrianDH
Creator II
Creator II
Author

I apologize, your code does work.  My bad!