Forum Discussion

JonasWillmann's avatar
JonasWillmann
New Member
7 years ago
Solved

Get conditional Bar Chart Colors for a variable value.

Hello Power-Bi Community, sorry if there is an obvious solution i am quite new.   I have 2 values in my data which show calls and expected calls. Both are changing with the selected timeframe and ...
  • Mariusz's avatar
    7 years ago

    Hi JonasWillmann 

     

    The measure you need is something like 

    Conditional Colors = INT( SUM( 'Yor Table'[calls] ) >= SUM( 'Yor Table'[expected calls] ) )

    Later you can use it for conditional formatting like on scr below.

    This will give you the following result.

     

    Best Regards,
    Mariusz

    If this post helps, then please consider Accepting it as the solution.

    Please feel free to connect with me.
    Mariusz Repczynski