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.3K Connect
- 1K Connectors
- 267 Workbench
- Cloud Amplifier
- 3 Federated
- 2.5K Transform
- 78 SQL DataFlows
- 524 Datasets
- 1.9K Magic ETL
- 2.9K Visualize
- 2.2K Charting
- 433 Beast Mode
- 22 Variables
- 507 Automate
- 113 Apps
- 386 APIs & Domo Developer
- 8 Workflows
- 25 Predict
- 9 Jupyter Workspaces
- 16 R & Python Tiles
- 331 Distribute
- 76 Domo Everywhere
- 255 Scheduled Reports
- 65 Manage
- 65 Governance & Security
- 1 Product Release Questions
- Community Forums
- 39 Getting Started
- 25 Community Member Introductions
- 67 Community Announcements
- 4.8K Archive