Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I want to construct a matrix like the following in PowerBI.
It requires different backgrond colors for different row subtotals for clarity. However, in the PowerBI GUI, this option is greyed out.
Are there any alternative ways like DAX and conditional formatting to achieve this? Thanks a lot.
Solved! Go to Solution.
@johnyip , You can use a color measure. Make sure you use it for value and subtotal/total using field value option in conditional formatting
How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...
@amitchandak Can this be applied to the label also? For example, from your answer, I want the words "Brand 1", "Brand 10", "Brand 11", etc to be formatted with background color also.
I don't think this can be achieved under the current version of PowerBI, after many times of my trials and no response after this long time. In case I am wrong, please correct me, and I am going to close this post by accpeting solutions.
@amitchandak Can this be applied to the label also? For example, from your answer, I want the words "Brand 1", "Brand 10", "Brand 11", etc to be formatted with background color also.
I don't think this can be achieved under the current version of PowerBI, after many times of my trials and no response after this long time. In case I am wrong, please correct me, and I am going to close this post by accpeting solutions.
@johnyip , You can use a color measure. Make sure you use it for value and subtotal/total using field value option in conditional formatting
How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
91 | |
87 | |
84 | |
67 | |
49 |
User | Count |
---|---|
131 | |
110 | |
96 | |
70 | |
67 |