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

Conditional Functions

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


In the above syntax,what is the use of 'Value'.

1 Solution

Accepted Solutions
Not applicable
Author

Hi Tresesco,

Thank u for your reply:)

View solution in original post

3 Replies
Not applicable
Author

How to use Class() function

hope u got your answer Jana!

Regards,

Barathiraja

tresesco
MVP
MVP

That is just a string used for labelling. That could be anything you want. Say if you are using this fucntion to classify the makrs student get, you might want to label it like:

class( Marks,20,'Mark is' ) -> returns       60<=Mark is<80 , when Marks=70

Not applicable
Author

Hi Tresesco,

Thank u for your reply:)