Forum Discussion

GOGIANTS's avatar
GOGIANTS
Regular Visitor
4 years ago
Solved

Apply conditional formating to several values based on the highest number

Hello,   I am trying to creat a heatmap in PowerBI, I downloaded a custom visual but that one isnt great. I already created a heatmap/table in Excel (pivot table) and applied conditional formating ...
  • negi007's avatar
    negi007
    4 years ago

    GOGIANTS in your case, you are adding seperate columns in values field that is why you have to apply conditional formatting seperatly for each columns. I suggest you to combine all these values into one columns using unpivot data feature in power query and then use that column in the value field. this can solve your problem. UnPivoting the data is very easy in power query, you select all columns and then unpivot option. This value create two columms, one for value and second for type of value.

     

    hope this solution solve your issue. thanks

  • GOGIANTS's avatar
    GOGIANTS
    4 years ago

    I found the solution, instead of pivot i should unpivot the column which turned it into one value. Thanks for guiding in the right direction!