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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

need expression with condition

creating bar chart

dimension =  Customer Name

expression= sum(sales)

what I need


  SUM(Sales) range from 100 to 1000000

     i need only greater than 40000 only

any one can help me please?

1 Solution

Accepted Solutions
sunny_talwar

May be like this:

Sum({<[Customer Name] = {"=Sum(Sales) > 40000"}>}Sales)

View solution in original post

6 Replies
Anonymous
Not applicable
Author

sum (  { <range={>=40000}  >}   sales)

sunny_talwar

May be like this:

Sum({<[Customer Name] = {"=Sum(Sales) > 40000"}>}Sales)

sunny_talwar

Or you can always do like this

If(Sum(Sales) > 40000, Sum(Sales))

Not applicable
Author

says error in set modifier and hoc element list

Not applicable
Author

it works. thank you

Anonymous
Not applicable
Author

sum (  { <range={'>=40000'}  >}   sales)