Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Using an expression to add text to a chart title

I am using the following expression to add dynamic text to a chart title -

='Full breakdown of the number of entrants from,  ' & region

I would like to alter the expression to show the 'region' OR the 'institution' if a specific institution is selected.

I'm not very good with IF statements or programming in general.  Is there an easy way to do this?

Thanks

Greg

1 Solution

Accepted Solutions
marcus_sommer

You could try something like this:

='Full breakdown of the number of entrants from,  ' & if(getselectedcount(institution) = 1, institution, region)

- Marcus

View solution in original post

3 Replies
marcus_sommer

You could try something like this:

='Full breakdown of the number of entrants from,  ' & if(getselectedcount(institution) = 1, institution, region)

- Marcus

Anonymous
Not applicable
Author

Thanks Marcus.  I'm very grateful.

Greg

maxgro
MVP
MVP

this is to show the institution if one instititution is selected (getselectedcount), else the regions


='Full breakdown of the number of entrants from,  ' & if(GetSelectedCount(institution)=1, institution, concat(distinct region, ', '))