Color rule a column based of another column? Color rule for text?

I have a table card with these columns: Account Name, MTD, MTD Budget
I want to apply color rule to MTD column so that when MTD is below 10% of the budget, color that MTD number red, else green. So in this example, 100 would be red, and 500 would be green.
Account Name | MTD | MTD Budget |
---|---|---|
Sales | 1000 | 2000 |
Expenses | 500 | 400 |
Is it possible to do in DOMO?
Answers
-
One way would be to use an html table.
with a formula like
CASE
WHEN `MTD` < (`MTD Budget` * 0.10) THEN
CONCAT('<span style="color:red;">', `MTD`, '</span>')
ELSE
CONCAT('<span style="color:green;">', `MTD`, '</span>')
END** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
This is something that comes up in the forum all the time, and I've seen multiple ideas posted about it. Posting it again will probably help, but also comment/upvote these. These were just the ones I could find with a quick search. If there are others, please add them in the comments
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
0
Categories
- All Categories
- Product Ideas
- 2K Ideas Exchange
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 661 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 820 Beast Mode
- Visualize
- 2.5K Charting
- 84 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 22 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 282 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 9 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive