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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello Everyone,
I am very new to power bi and I have the following requirement.I do aware that we can implement the conditional formatting based on the values but i have the below requirement where i tried multiple options based on the conditional formatting but didn't acheve the below.
I need to generate a static matrix heat map where the cell formatting should be done based on row and column header.Please see the table below.Kindly let me know if this can be feasible in power bi and let me know if you need more information.
| Header | <1Y | <2Y | <3Y | <4Y | <5Y |
| 1-2 | Colour 1 | Colour 1 | Colour 2 | Colour 3 | Colour 4 |
| 2-3 | Colour 1 | Colour 2 | Colour 3 | Colour 3 | Colour 4 |
| 3-4 | Colour 2 | Colour 3 | Colour 3 | Colour 4 | Colour 5 |
| 4-5 | Colour 3 | Colour 3 | Colour 4 | Colour 5 | Colour 5 |
| 5-6 | Colour 4 | Colour 4 | Colour 5 | Colour 5 | Colour 5 |
Solved! Go to Solution.
First, unpivot your data to bring it into a usable format
Then add the actual colors
Lastly, render your data in a matrix visual and apply the background color.
First, unpivot your data to bring it into a usable format
Then add the actual colors
Lastly, render your data in a matrix visual and apply the background color.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |