Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I am using a matrix to show 2 measures based on values. The stakeholders want Growth to be green and Foundational to be blue. This is no conditional formatting in to allow this so is there a dax measure or something I can do as a work around.
Hi @Anonymous ,
The current version(2.86.902.0 64-bit (October 2020)) really can not set different types of data bars to different colors.
Try @Fowmy ‘s solution or try to find a custom viusal in appsource .
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
I don't think it is possible but you can apply both Data Bar and Background C-Formatting. Under Background CF, apply the below measure to highlight in Green and Blue
CF =
IF( SELECTEDVALUE(Sales[Category]) = "Accessories", "Light Green" , IF( SELECTEDVALUE(Sales[Category]) = "Bikes", "Light Blue"))________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
This is a table you used - this doesn't work for Matrix.
Hi @Anonymous - I havnt tried this but can you try something like this:
https://community.powerbi.com/t5/Desktop/Conditional-Format-for-metrics/td-p/1000572
Hope this give you some pointers
Cheers,
-Namish B
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 70 | |
| 55 | |
| 38 | |
| 28 | |
| 22 |
| User | Count |
|---|---|
| 133 | |
| 119 | |
| 54 | |
| 37 | |
| 31 |