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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
kryan
Contributor II
Contributor II

filter sum by number value

Hello, I have a sum of costs in a table that is organized by project. I want to only display the sum of the cost if the total is below -5,000. Any suggestions on how to do this?

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

You can try simple method.

If(Sum(Cost)<=-5000,Sum(Cost))

You can also convert this into set analysis.

Sum({<Project = {'=sum(Cost)<=-5000'}>}Cost)

 

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

1 Reply
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

You can try simple method.

If(Sum(Cost)<=-5000,Sum(Cost))

You can also convert this into set analysis.

Sum({<Project = {'=sum(Cost)<=-5000'}>}Cost)

 

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!