HTML to color cell green or red
Options
ColinHaze
Member
Hi,
I am using a pivot table and I am trying to color the cell either red or green if its greater than the goal %.
I just need help with the HTML on how I would do that. Would I write it in a beastmode?
The following code I have is as followed.
CONCAT(CASE WHEN ((SUM(Empty Miles
) / SUM(Total Miles
)) > AVG(Goal
)) THEN '*This is the spot for red*' ELSE '*This is the spot for Green* ' END, ROUND(100*(SUM(Empty Miles
) / SUM(Total Miles
)) ,2), '%')
Thanks in advance.
0
Best Answer
-
I've written up a post about this previously here:
It will go over the beast mode and have a video on it as well.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Answers
-
I've written up a post about this previously here:
It will go over the beast mode and have a video on it as well.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Categories
- All Categories
- 1.5K Product Ideas
- 1.5K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 280 Workbench
- 4 Cloud Amplifier
- 4 Federated
- 2.7K Transform
- 90 SQL DataFlows
- 562 Datasets
- 2K Magic ETL
- 3.4K Visualize
- 2.3K Charting
- 586 Beast Mode
- 13 App Studio
- 28 Variables
- 585 Automate
- 142 Apps
- 415 APIs & Domo Developer
- 27 Workflows
- 1 DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 361 Distribute
- 99 Domo Everywhere
- 260 Scheduled Reports
- 2 Software Integrations
- 94 Manage
- 91 Governance & Security
- 9 Product Release Questions
- Community Forums
- 37 Getting Started
- 28 Community Member Introductions
- 89 Community Announcements
- 4.8K Archive