Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
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.