Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Good afternoon,
I have a question concerning conditional formatting in a Matrix.
I have the following matrix:
On the rows I have Shop type, Shop, function
On the columns I have Year, month
Values= Measure that calculates the hours
The requirement is to have a gradient color scale on the rows of the shops (highlighted in yellow) where green is zero hours and it goes to red for the max hours.
I tried using this measure:
Solved! Go to Solution.
HI @LamSar,
AFAIK, you can’t be accurate to control the detail color in 'color scale' mode.
I’d like to suggest you use measure formula to parameterize the color code with the variable calculation result and use this formula as conditional formatting with expression mode.
For dynamic the colors based on calculation result, you can take a look at the following video about use Dax formula to apply HSLA color to visual if helps:
Advanced Coloring in Power BI For ALL VISUALS using HSLA Colors and DAX - YouTube
Regards,
Xiaoxin Sheng
HI @LamSar,
AFAIK, you can’t be accurate to control the detail color in 'color scale' mode.
I’d like to suggest you use measure formula to parameterize the color code with the variable calculation result and use this formula as conditional formatting with expression mode.
For dynamic the colors based on calculation result, you can take a look at the following video about use Dax formula to apply HSLA color to visual if helps:
Advanced Coloring in Power BI For ALL VISUALS using HSLA Colors and DAX - YouTube
Regards,
Xiaoxin Sheng
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |