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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Roym
Helper IV
Helper IV

Use icons in a measure

 

In my report I use the below formatting on a table to show the different icons in front of the name. This works perfecty but now I want to add a legend below the table that describes what the different collors mean. To have exactly the same colors I would like to use these specific icons. Is there a way to create a new measure or something that uses these exact icons? I found this link that shows the name of the different icons but not sure on how to add this to a measure? https://community.fabric.microsoft.com/t5/Desktop/What-are-the-icon-IDs-In-July-update/m-p/752075#M3...

 

 

Roym_0-1716475993922.png

 

1 ACCEPTED SOLUTION
v-jingzhan-msft
Community Support
Community Support

Hi @Roym 

 

To use these specific icons, I think of a small trick. You can still use a table or a matrix visual and set the icon conditional formatting with the same icons in it. Then modify all grid lines to color white (or the same color as report's background) and width 0. This will make grid lines invisible. Modify all column and row header text to have the same color as backgroud's too. Then you will have a similar result as below. Use it as a legend below your data table visual. 

vjingzhanmsft_0-1716518348731.png

In above picture, the left one is created with a table visual and the right one is a matrix visual. You can also pick any value in it to interact with other visuals on the same page.

 

Otherwise you may have to create a measure using SVG or Unicode to have these icons and display it in a card visual or some other visuals. Tips on displaying icons based on field values in ... - Microsoft Fabric Community

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

View solution in original post

2 REPLIES 2
v-jingzhan-msft
Community Support
Community Support

Hi @Roym 

 

To use these specific icons, I think of a small trick. You can still use a table or a matrix visual and set the icon conditional formatting with the same icons in it. Then modify all grid lines to color white (or the same color as report's background) and width 0. This will make grid lines invisible. Modify all column and row header text to have the same color as backgroud's too. Then you will have a similar result as below. Use it as a legend below your data table visual. 

vjingzhanmsft_0-1716518348731.png

In above picture, the left one is created with a table visual and the right one is a matrix visual. You can also pick any value in it to interact with other visuals on the same page.

 

Otherwise you may have to create a measure using SVG or Unicode to have these icons and display it in a card visual or some other visuals. Tips on displaying icons based on field values in ... - Microsoft Fabric Community

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

Nice, didn't think about doing it this way, thanks!! This will work perfectly for me!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.