Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
gjnr
Regular Visitor

Need help for Matrix heat map formatting based on rows and column header

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-2Colour 1Colour 1Colour 2Colour 3Colour 4
2-3Colour 1Colour 2Colour 3Colour 3Colour 4
3-4Colour 2Colour 3Colour 3Colour 4Colour 5
4-5Colour 3Colour 3Colour 4Colour 5Colour 5
5-6Colour 4Colour 4Colour 5Colour 5Colour 5

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

First, unpivot your data to bring it into a usable format

lbendlin_0-1718062981281.png

Then add the actual colors

lbendlin_1-1718063073243.png

 

Lastly,  render your data in a matrix visual and apply the background color.

lbendlin_2-1718063168040.png

 

lbendlin_3-1718063187899.pnglbendlin_4-1718063245495.png

 

View solution in original post

2 REPLIES 2
gjnr
Regular Visitor

Thank you @lbendlin it worked!

lbendlin
Super User
Super User

First, unpivot your data to bring it into a usable format

lbendlin_0-1718062981281.png

Then add the actual colors

lbendlin_1-1718063073243.png

 

Lastly,  render your data in a matrix visual and apply the background color.

lbendlin_2-1718063168040.png

 

lbendlin_3-1718063187899.pnglbendlin_4-1718063245495.png

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors