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

change chart name dynamically

Hi,

I implemented a chart.

chart name is sales by country.(dimension->country, expression->sum(sales))

after that i changed  dimension as state.then  i want sales by state. without changing chart name?

5 Replies
Not applicable
Author

write a condition in title it will change chart name based on selections

JonnyPoole
Former Employee
Former Employee

Are you using a cycle group to switch dimensions ?  If you are you can use the function getcurrentfield( myGroup )  to do this.  You may need to put the group name in square brackets  [] 

Not applicable
Author

Hi there,

You can use getfieldselection() function to identify which mode is active each time and then use an if condition to change the chart tile accordingly.

Not applicable
Author

Can u upload the attachment?

JonnyPoole
Former Employee
Former Employee

Here is one:

Capture.PNG.png