Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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!