Conditional formatting in a table card

I like to show all data below target < 0 in Red and above in Green >0 in a Table card. Is it possible to do this?
Comments
-
Hi all,
Can anybody help @HelenOBrien with their question?
Thanks!0 -
can anyone help
0 -
There is currently no option to display colors in a table card using the functionality present in the Domo interface. That said, it is technically possible to do it using HTML and beast modes, but that's not an approach we recommend you take. I wish I had a better answer for you than that.
Nevertheless, I can definitely see the value of having the ability to do conditional formatting within a table card. That would be a very useful feature. To recommend new functionality for Domo, please visit the Dojo Ideas Exchange. You can search existing ideas and then vote for it if it matches what you have in mind. If you can't find it, please create a new idea, which can then be voted on by your fellow Dojo members by clicking the white arrow next to the idea.1 -
@HelenOBrien, did RabidCougar's reply help you out?
0 -
CASE
WHEN `FieldName` < 0
THEN CONCAT('<div style="background-color:#bbe491; text-align: right; text-decoration:none; font-weight: bold; width: 100%; height:100%; margin:-20px; padding:20px;"><a href="#">',`FieldName`, '</a></div>')
WHEN `FieldName` > 0
-- THEN CONCAT('<div style="background-color:#fcbcb7; text-align: right; text-decoration:none; font-weight: bold; width: 100%; height:100%; margin:-20px; padding:20px;"><a href="#">',`FieldName`, '</a></div>')
END1
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 470 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 193 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 174 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive