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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Qlikuser09
Creator II
Creator II

"If "in Dimensions QLiksense

Is it possible to use If loop in dimensions. 

[Location ] & ': ' & [ Name],  i have this as dimension , also how can i include specific location like {<[Location] = {'US'}>} in this set analysis .

 

 

1 Reply
Chanty4u
MVP
MVP

Not sure but try this 

= {< [Location] = {'US'} >} [Location] & ': ' & [Name]

 

Or 

you can create calucauted dimension like below

=if([Location]='US', 'Location: ' & [Name], [Name])