Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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