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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
HaiVN
Helper III
Helper III

Legend for table ( heatmap)

Hello,

I create a table in the form of heatmap and would like to show the legend for the value og heatmap ( min, max, middle).
HaiVN_0-1717592033567.png
Can anyone shows my the method?
hear is exaple of heatmap:

HaiVN_0-1717592679293.png

Thank you!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @HaiVN ,

tableHeatMap is a single row of measures, and then if you want to display all the results, consider using a calculation group, which contains multiple measures.

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @HaiVN ,

Thank you for @jrescalante answer , and I have other suggestions for you:

It's true that neither tables nor matrices in Power BI have legend functionality, and if you want to see the compartments through the legend, I recommend using the custom visual's tableHeatMap, which shows each compartment segment.

Below is my table:

vxiandatmsft_1-1717640489161.png

You can create a tableHeatMap like this:

vxiandatmsft_0-1717640470294.png

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@Anonymous 
It seems at the Tableheatmap does not work with data from measure . ? Thanks!

 

 

Anonymous
Not applicable

Hi @HaiVN ,

I create two measure:

Measure = SELECTEDVALUE(Sales[Year - 2010])


Measure 2 = SELECTEDVALUE(Sales[Year - 2011])

I tested it and found that it was possible to put measure into a tableHeatMap

vxiandatmsft_0-1717660267841.png

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@Anonymous 
My current matrix table ( heatmap ) has column is year ( 2025----2050); rows is locations; and value i the cells is total sale getting from a measure . When I apply with the Tableheatmap it shows only one row with data i the cell  is the sum of alle celll in a column. Do you know how can i fix? Thanks! 

Anonymous
Not applicable

Hi @HaiVN ,

tableHeatMap is a single row of measures, and then if you want to display all the results, consider using a calculation group, which contains multiple measures.

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

jrescalante
Advocate I
Advocate I

There´s no support at the moment to create legends from a table or matrix.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.