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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Derek_T
Contributor III
Contributor III

How to create variable graph name based on selection ?

Let's say I have a filter pane in my app to select amongst a list of user: A, B, C, D.

I'd like the title of my Graph to display :

  • "Metric - A" (When user A is selected) 
  • "Metric - Team" (When no user are selected)
  • "Metric - A, B" (When users A and B are selected)

Is that possible ?

Labels (2)
1 Solution

Accepted Solutions
sidhiq91
Specialist II
Specialist II

@Derek_T  Please try below expression and see if it helps.

=if(isnull(GetCurrentSelections()),'Metric Team',chr(39)&'Metric '&''&GetFieldSelections(User)&chr(39))

If it resolves your issue, please like and accept it as a solution.

View solution in original post

1 Reply
sidhiq91
Specialist II
Specialist II

@Derek_T  Please try below expression and see if it helps.

=if(isnull(GetCurrentSelections()),'Metric Team',chr(39)&'Metric '&''&GetFieldSelections(User)&chr(39))

If it resolves your issue, please like and accept it as a solution.