QlikWorld 2020 Global Conference. Join us to discover how to get the most from your data. Act fast. Register now and save.

class - script and chart function

The class function assigns the first parameter to a class interval. The result is a dual value with a<=x<b as the textual value, where a and b are the upper and lower limits of the bin, and the lower bound as numeric value.


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


Argument Description
interval A number that specifies the bin width.
label An arbitrary string that can replace the 'x' in the result text.
offset A number that can be used as offset from the default starting point of the classification. The default starting point is normally 0.

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?