Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Color coding with DAX

With the latest Desktop release we got some color coding possibilities with DAX.   https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-formatting-by-field-value   ...
  • molegris's avatar
    4 years ago

    Hi, 

    This happens to me all the time.  And everytime it's because I forgot the change the type of the measure that returns the color codes.  It defaults to "number" even when your formula returns a text.  You have to force it to "text".  Then it wont be disable/gray-out anymore in the field pick-list.

     

     

    --mo