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 <Nathan.Washburn@domo.com> regarding my request below - he has been a great help to me
0 -
0
Categories
- All Categories
- 1.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 305 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3K Transform
- 107 SQL DataFlows
- 648 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 775 Beast Mode
- 75 App Studio
- 43 Variables
- 734 Automate
- 186 Apps
- 471 APIs & Domo Developer
- 63 Workflows
- 14 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 403 Distribute
- 117 Domo Everywhere
- 277 Scheduled Reports
- 9 Software Integrations
- 137 Manage
- 134 Governance & Security
- 8 Domo Community Gallery
- 44 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 113 Community Announcements
- 4.8K Archive