Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi All, In the below matrix Would like to show 01.Actual (value1,valu2) in orange , 02.Budget (Value1,Value2) in green color, 03.Forecast(Value1,Value2) in Blue color, like how i mentioned below Please help. Thanks.
Solved! Go to Solution.
@Anonymous , Create a color measure like the one given below and use that in matrix in conditional formatting -> Advance option -> Field Value
Switch( Max(Table[Type]),
"01.Actual" , "orange",
"02.Budget" , "green",
"03.Forecast" , "blue",
"White"
)
You can refer to my video for steps: https://www.youtube.com/watch?v=RqBb5eBf_I4
or refer
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
HI @Anonymous,
In fact, the conditional formatting feature allows you to use other field values for formatting.
For your requirement, you can write measure expressions to extract the current category value for color formatting.
Using the SELECTEDVALUE function in DAX - SQLBI
Regards,
Xiaoxin Sheng
@Anonymous , Create a color measure like the one given below and use that in matrix in conditional formatting -> Advance option -> Field Value
Switch( Max(Table[Type]),
"01.Actual" , "orange",
"02.Budget" , "green",
"03.Forecast" , "blue",
"White"
)
You can refer to my video for steps: https://www.youtube.com/watch?v=RqBb5eBf_I4
or refer
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
75 | |
60 | |
37 | |
33 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |