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: 
Thabang231
Contributor III
Contributor III

Logic to only show range of values needed

Hi Team 

 

I would like an assistance, i wanna build a logic to only show a range of values from 30 to 60 inclusive, and this logic i would like to build in KPI, in the table and also put it in the bar graphs. So even when i pull the bar graph it show only show me the books ranging from 30 to 60 only and exclude the rest, how to build this. 

 

Thank you so much.

Labels (1)
2 Replies
Or
MVP
MVP

Since you haven't included your expressions or sample data, it's hard to say exactly, but generally one would use set analysis, e.g.

Sum({< ValueField = {“>=30<=60”} >} SomeFieldName)

see e.g. https://community.qlik.com/t5/QlikView-App-Dev/range-with-set-analysis/td-p/252113

 

Thabang231
Contributor III
Contributor III
Author

Hi @Or 

Thanks for this, and currently here is the formula i need to do the range on it, so with this formula i want it to only show me outputs which range on 30 to 60 only and it should ignore the rest : (sum(TripFuel)/sum(TripDistance))*100