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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Score Listing - Grouping ?

Have a bunch of scores list ranging from 1-100. I need groupings in the following order 25:50:75:100.

If score = 0 to 25 then it is in the     Group 1

If score = 25 to 50 then it is in the   Group 2

If score = 50 to 75 then it is in the   Group 3

If score = 75 to 100 then it is in the Group 4

Appreciate help

2 Replies
Not applicable
Author

You may want to utilize the Class function

Not applicable
Author

class(expression, interval [ , label [ , offset ]])

Creates a classification of expressions. The bin width is determined by the number set as interval. The result is shown as a<=x<b, where a and b are the upper and lower limits of the bin. The x can be replaced by an arbitrary string stated in label. 0 is normally the default starting point of the classification. This can be changed by adding an offset.

Examples:

class( var,10 ) with var = 23 returns '20<=x<30'

class( var,5,'value' ) with var = 23 returns '20<= value <25'

class( var,10,'x',5 ) with var = 23 returns '15<=x<25'