Pivot Table conditional format
Comments
-
I'm not sure if you've tried this approach or if it even works on pivot tables but you can try to create a BeastMode with html styling elements.
Example:
CASE `salesperson`
when 'Bob' then CONCAT('<span style="color:red">',`salesperson`,'</span>')
else `salesperson`
endHere is some documentation from the Knowledge Base: https://knowledge.domo.com/Visualize/Adding_Cards_to_Domo/KPI_Cards/Transforming_Data_Using_Beast_Mode/Sample_Beast_Mode_Calculations%3A_Card_Element_Transforms. Let me know if you get something working for you!
2 -
A similar, but slightly different approach to Cartergan's suggestion, is to use Beast Mode for the comparison, but still rely on the UI for your color application.
The Best Mode would be something to the effect of...
Beast Mode: `To-Goal`
CASE
WHEN IFNULL(`Actual`, 0) > `Goal` THEN 'Exceeded Goal'
WHEN IFNULL(`Actual`, 0) = `Goal` THEN 'Attained Goal'
WHEN IFNULL(`Actual`, 0) < `Goal` THEN 'Missed Goal'
ELSE 'Error' ENDThen you can apply color logic based on the value of `To-Goal`. Depending on the chart type, this does require that you have the `To-Goal` field in the chart, so it may or may not meet your needs. Just giving you an alternative approach in case you don't want to deal with the inline HTML code.
----------
Serving up data insights since 2002...2
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 292 Workbench
- 4 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 95 SQL DataFlows
- 603 Datasets
- 2.1K Magic ETL
- 3.7K Visualize
- 2.4K Charting
- 697 Beast Mode
- 43 App Studio
- 39 Variables
- 658 Automate
- 170 Apps
- 441 APIs & Domo Developer
- 42 Workflows
- 5 DomoAI
- 32 Predict
- 12 Jupyter Workspaces
- 20 R & Python Tiles
- 386 Distribute
- 111 Domo Everywhere
- 269 Scheduled Reports
- 6 Software Integrations
- 113 Manage
- 110 Governance & Security
- 8 Domo University
- 30 Product Releases
- Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 98 Community Announcements
- Domo Community Gallery
- 4.8K Archive