Custom Color by Value in Symbol + Grouped Bar Chart
In my chart, the target value is the symbol. I have two series one that is showing daily value and the other showing month to date value. I would like the color of the bar for the daily value and the color of the bar for the monthly value to be green if target is met, yellow if value is 95% of target and red if value is less than 95% of target. Using ChatGPT suggestion I created the following beast mode "Target Achieved":
CASE
WHEN 'Daily' >= Target
THEN 'Green'
WHEN Daily
> Target
*0.95 Then 'Yellow'
ELSE 'Red'
END
I went into Colors and set Target achieved to each of the colors. It did not change my the colors on my graph. Is there a way to customize color by value in a symbol + grouped bar chart? I have customized colors by value using a bullet chart before but I don't see a way to show both daily and month to date in a bullet chart. Any suggestions or help would be appreciated.
Best Answer
-
Hi @RTM ,
Unfortunately, I don't think you can do that for this chart. The code you have doesn't really work because we are in SQL and assigning things to color names is a very HTML thing. These are charts are usually one color per bar.
HOWEVER, there are other charts that might help. For instance, you can use a regular mega table and make a column to show % to target. I made a video to explain a bit more: https://www.loom.com/share/82d5a98d9fb7442c819e08acb27e7477
John Le
Are you on my newsletter? If not, signup here so you don't miss out on my Domo tricks, alerts about my webinars, cooking tips and more
Signup here:
0
Answers
-
Hi @RTM ,
Unfortunately, I don't think you can do that for this chart. The code you have doesn't really work because we are in SQL and assigning things to color names is a very HTML thing. These are charts are usually one color per bar.
HOWEVER, there are other charts that might help. For instance, you can use a regular mega table and make a column to show % to target. I made a video to explain a bit more: https://www.loom.com/share/82d5a98d9fb7442c819e08acb27e7477
John Le
Are you on my newsletter? If not, signup here so you don't miss out on my Domo tricks, alerts about my webinars, cooking tips and more
Signup here:
0 -
Thanks for the video response. Although not what I was looking for still think I will be able to utilize for something else I am working on. Will definitely check out some of your other videos
1
Categories
- All Categories
- 1.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 305 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3K Transform
- 107 SQL DataFlows
- 648 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 775 Beast Mode
- 75 App Studio
- 43 Variables
- 734 Automate
- 186 Apps
- 471 APIs & Domo Developer
- 63 Workflows
- 14 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 403 Distribute
- 117 Domo Everywhere
- 277 Scheduled Reports
- 9 Software Integrations
- 137 Manage
- 134 Governance & Security
- 8 Domo Community Gallery
- 44 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 113 Community Announcements
- 4.8K Archive