Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bar chart with value range selection

Hello,

I am new to the community, so I would appreciate your help.[:D]

I am trying to display sales data within some range (the minimum and maximum values are variables and are their values are entered by the user ).

My Bar chart Expression syntax is: =Sum([Quantity]*[Unit Price]-OrderDiscount)

I've created two variables: MinSalesValue and MaxSalesValue and I entering their values through the Input Boxes

I was not able to find the syntax to update the bar chart expression to display values within the entered range. What's the best way to do that?

Regards,

DT



1 Solution

Accepted Solutions
Not applicable
Author

Use If condition in chart expressions and in that u can give range for min and max values .

example: if( sum(sales) =minSales or sum(sales) =maxSales ,sum(sales))

U can try more...

View solution in original post

2 Replies
Not applicable
Author

Use If condition in chart expressions and in that u can give range for min and max values .

example: if( sum(sales) =minSales or sum(sales) =maxSales ,sum(sales))

U can try more...

Not applicable
Author

It works. Thanks!

Best regards,

DT