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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression/text label

Hi! I'd like to create a label to show a text like this: "150 - Company A", where 150 is a value selected from an input box,(vBusiness) and "Company A" is the name of number 150 company. How can I write this expression?

Is it correct the use of this expression?

='Title:' & ' ' &  (vBusiness)& ' ' & ({$<NumberCompany ={$(=vBusiness)}>}[NameCompany])

Any suggestions greatly appreciated.

Regards,

Andrea

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Assuming that vBusiness is a variable that contains a numeric value... try this:


='Title: ' &  $(vBusiness)& ' ' & only({$<NumberCompany ={$(vBusiness)}>}[NameCompany])


talk is cheap, supply exceeds demand
CELAMBARASAN
Partner - Champion
Partner - Champion

May be like this

='Title:' & ' ' &  (vBusiness)& ' ' & Only({$<NumberCompany ={$(=vBusiness)}>}[NameCompany])

vipin_mishra479
Creator II
Creator II

Hi,

Use This

='Title: ' &  $(vBusiness)& ' - ' & only({$<NumberCompany ={$(vBusiness)}>}[NameCompany])