Toggle series in bar chart
Hi, I have a bar chart that has a goal as the y axis and then a current total as the series (as well as the difference between goal and total. We also have another field in the data that has a different calculation of the total. I was wondering if it is possible to have a card on the dashboard that allows us to toggle between the two total fields, like changing the series of the bar chart dynamically. I was thinking maybe there's a beast mode calc that could solve for this.
Thank you -- willing to provide more info if needed.
Best Answers
-
@jrtomici You can look into using variables for this. Make the inputs 'Total A' and 'Total B', and then create a beast mode like:
case when 'Variable' = 'Total A' then 'Total A' (or beast mode calculation)
when 'Variable' = 'Total B' then 'Total B' (or beast mode calculation)
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**
3 -
@jrtomici You can accomplish this by creating a variable with values for each type of calculation. Then you can create a beast mode based on which calculation type is selected in your variable control like the one below. This beast mode would then be used as the Value/Y-Axis in your card.
case when `Calculation Type` = 'Calculation A' then `Field A` when `Calculation Type` = 'Calculation B' then `Field B` end
More on variables here: https://domo-support.domo.com/s/article/7903767835031?language=en_US
1
Answers
-
@jrtomici You can look into using variables for this. Make the inputs 'Total A' and 'Total B', and then create a beast mode like:
case when 'Variable' = 'Total A' then 'Total A' (or beast mode calculation)
when 'Variable' = 'Total B' then 'Total B' (or beast mode calculation)
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**
3 -
@jrtomici You can accomplish this by creating a variable with values for each type of calculation. Then you can create a beast mode based on which calculation type is selected in your variable control like the one below. This beast mode would then be used as the Value/Y-Axis in your card.
case when `Calculation Type` = 'Calculation A' then `Field A` when `Calculation Type` = 'Calculation B' then `Field B` end
More on variables here: https://domo-support.domo.com/s/article/7903767835031?language=en_US
1 -
Interesting, reading about it now. Thank you @RobSomers
Is there a way to toggle the variable within the dashboard without going into analyzer? The dashboard is meant to be a user interface used by sales teams without any need (or want) for them to open the cards in analyzer.
0 -
@MichelleH @RobSomers extremely helpful, thank you for telling me about this feature!!
1
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 738 Beast Mode
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive