How do I add different y axis labels for the same chart with variable control?

Hello! I built a bar chart graph with variable control, so users can pick one of the few provided variable values and see the respective values on y axis. These values can be in the format of percentage, dollars, and days. I wasn't able to find a way to customize the y axis label shown based on what user selects to see. Is there a beast mode method that I can potentially use?
The x axis remain the same in quarters. Only the y axis value changes based on user selection.
Thank you!
Best Answer
-
Ah. You can't dynamically change the format in the formatting options but you'd have to do it within a beast mode which can be a bit complex. You can use something like this to get you started with numbers or currency formatting:
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Answers
-
You can't change the title of a field on your cart with a variable. It's set to whatever you define it when in analyzer. You'd have to use a generic name like Metric or something.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
Thanks for your response. My original question was to present y axis in different format (variable a: '$…', variable b: '…%', etc.), but it does seem like that is not something that I can manipulate currently.
0 -
Ah. You can't dynamically change the format in the formatting options but you'd have to do it within a beast mode which can be a bit complex. You can use something like this to get you started with numbers or currency formatting:
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
Thank you! This does look complicated but I will take a look. Would be nice if we can easily alter it in the settings section :)
0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 663 Datasets
- 119 SQL DataFlows
- 2.3K Magic ETL
- 823 Beast Mode
- Visualize
- 2.6K Charting
- 86 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 86 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 117 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive