Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Flipping between two charts with unique expressions

Long time reader, first time poster.

I have two charts that have the same dimension but different expressions. I really want to create a button that when clicked will flip between the two different charts.

This would be similar to a fast change chart except I am under the impression that is for changing chart types, and is limited to using the same expression in each chart.  I want to change the expression being graphed, not necessarily the chart type.

Thanks, any help is appreciated.

10 Replies
dgreenberg
Luminary Alumni
Luminary Alumni

Another alternative is to have multiple expressions but have them conditionally shown via a variable.

So if you press a button or do something else it can change the value of the variable.  Or you could have a data island with an expression picker.  Pick an expression from that listbox and it will hide all the other expressions except the one with that ID.

I use that more often as a Dimension Picker but I don't see why it wouldn't work.