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
- All Categories
- 1.2K Product Ideas
- 1.2K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 273 Workbench
- 2 Cloud Amplifier
- 3 Federated
- 2.7K Transform
- 78 SQL DataFlows
- 525 Datasets
- 2.1K Magic ETL
- 2.9K Visualize
- 2.2K Charting
- 439 Beast Mode
- 23 Variables
- 513 Automate
- 115 Apps
- 390 APIs & Domo Developer
- 8 Workflows
- 26 Predict
- 10 Jupyter Workspaces
- 16 R & Python Tiles
- 332 Distribute
- 77 Domo Everywhere
- 255 Scheduled Reports
- 67 Manage
- 67 Governance & Security
- 1 Product Release Questions
- Community Forums
- 40 Getting Started
- 26 Community Member Introductions
- 68 Community Announcements
- 4.8K Archive