March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi, I'm looking to create some kind of visualization like below. I have 3 different measures (D1,D2,D3). The 3 rectangles would represent the 3 difference measures.
If in any case D1 is yes then it is green, if it is no then it is red.
If in any case D2 is yes then it is green, if it is no then it is red.
If in any case D3 is yes then it is green, if it is no then it is red.
Is there any way to do this in Power BI? I would appreciate any help and guidance. Thank you.
Solved! Go to Solution.
Hi @andrea100 ,
You can definitely do this- it is called conditional formatting. Here is additional information:
https://www.youtube.com/watch?v=m0h3Ghl6mgY
https://blog.coupler.io/power-bi-conditional-formatting/
Hi @andrea100 ,
Thank you, @djurecicK2 , for sharing the solution. As @djurecicK2 rightly pointed out, if the visual you are using is a table, you can apply conditional formatting to dynamically set the fill color of each cell.
If the visual in question is simply an inserted rectangle shape, you may consider using a formula to set its fill color.
If these solutions do not meet your requirements, please consider providing additional information, such as the type of visual you are using, the DAX formulas for D1, D2, D3.
Best Regards,
Bof
Hi @andrea100 ,
Thank you, @djurecicK2 , for sharing the solution. As @djurecicK2 rightly pointed out, if the visual you are using is a table, you can apply conditional formatting to dynamically set the fill color of each cell.
If the visual in question is simply an inserted rectangle shape, you may consider using a formula to set its fill color.
If these solutions do not meet your requirements, please consider providing additional information, such as the type of visual you are using, the DAX formulas for D1, D2, D3.
Best Regards,
Bof
Thank you, going to use this for another report!
Hi @andrea100 ,
You can definitely do this- it is called conditional formatting. Here is additional information:
https://www.youtube.com/watch?v=m0h3Ghl6mgY
https://blog.coupler.io/power-bi-conditional-formatting/
Thank you, these resources definetly helped
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
87 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |