Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Rajesh31
Contributor III
Contributor III

Variable

how to create a variable for the following in qliksense

when YTD_revenue <-100 then '-100'

when YTD_revenue =100 then '100'

when YTD_revenue>100 then '>100'

Labels (1)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

Try this

IF( YTD_revenue <-100, '-100', IF(YTD_revenue =100,'100', IF( YTD_revenue>100 , '>100')))

View solution in original post

2 Replies
Vegar
MVP
MVP

Try this

IF( YTD_revenue <-100, '-100', IF(YTD_revenue =100,'100', IF( YTD_revenue>100 , '>100')))

Rajesh31
Contributor III
Contributor III
Author

Thank you so much @Vegar , It was helpful