- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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).
Can anyone shows my the method?
hear is exaple of heatmap:
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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:
You can create a tableHeatMap like this:
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Anonymous
It seems at the Tableheatmap does not work with data from measure . ? Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
08-21-2023 02:18 AM | |||
01-24-2020 06:10 AM | |||
06-17-2024 08:56 PM | |||
06-02-2024 06:41 AM | |||
Anonymous
| 08-26-2020 09:51 AM |
User | Count |
---|---|
87 | |
81 | |
53 | |
38 | |
35 |