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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Creating ranges in a bar chart

Hi,

I've go a bar chart with "sold goods" and their percentage. But there are to many different percentages so I want to create ranges (e.g. 0%-5%, 5%-10% and so on).

What is the easiest way to do this?

Could anyone help?

1 Solution

Accepted Solutions
Not applicable
Author

I think this should work:

create a new dimension:

=If(percentage_goods < 1.0 or percentage_goods <>0 , Class(percentage_goods , 0.05),'>=1')

View solution in original post

1 Reply
Not applicable
Author

I think this should work:

create a new dimension:

=If(percentage_goods < 1.0 or percentage_goods <>0 , Class(percentage_goods , 0.05),'>=1')