Change bar colours for negative numbers

Options

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

  • HelenOBrien
    Options

    can you contact Nathan Washburn <Nathan.Washburn@domo.com> regarding my request below - he has been a great help to me 

  • kshah008
    kshah008 Contributor
    Options

    Hi all,

     

    Can anybody help @HelenOBrien with their situation?

    Thanks!

This discussion has been closed.