Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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)