Change bar colours for negative numbers

Hopefully you can help me or point me in the right direction. I am trying to show a chart where everything below the link is Green and above is Red I had it working before but it may be the way my data is stored --- see link to chart https://merit.domo.com/kpis/1638533623/drillpath/1/drillview/5845842 I have written the logic in Beast Mode under the field GetStatusD.
case
when sum((CASE WHEN (`type`='Actuals') THEN `amount_usd` ELSE 0 END ))-Sum((CASE WHEN (`type`='Budget') THEN `amount_usd` ELSE 0 END ))> 0 then 'Above Target'
else
'Below Target'
End
It is working in chart - https://merit.domo.com/page/1137975265/kpis/details/274689089
Comments
-
can you contact Nathan Washburn <[email protected]> regarding my request below - he has been a great help to me
0 -
0
Categories
- 10.5K All Categories
- 6 Connect
- 916 Connectors
- 250 Workbench
- 463 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 476 Datasets
- 189 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
- 246 Distribute
- 62 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 172 Product Ideas
- 1.2K Ideas Exchange
- 11 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive