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: 
Montezuma213
Contributor
Contributor

Expression Help

Hello, 

I am using this expression to combine 2 fields in a Title.  How can I combine these 2 expressions.  I want to show URLs selected in the title, but would like it to be blank when nothing is selected.

 

 IF GetFieldSelections (URL) is null, 

=CONCAT({<URL=>} DISTINCT URL, ', '),  show URLs

 

Thanks,

Fred

Labels (2)
2 Replies
Or
MVP
MVP

Why not just use GetFieldSelections(URL)? This will return selections made, and if none have been made, it will return null. If you want to replace the null with a blank space, you could wrap this in a Coalesce(GetFieldSelections(URL),'')

vinieme12
Champion III
Champion III

 

=if(getselectedcount(URL)>0,  THEN something,  Else something)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.