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
Jeff2Jets
Helper I
Helper I

Icons within Conditional Formatting.

I am using 'Conditional Formatting' icons for a column in a page that has a Table. To mitigate confusion, I would like to display a key for the possible icons and their meanings. In the example below, I would like to have a key as to what the red diamond means.

Jeff2Jets_0-1667849510058.png

 

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @Jeff2Jets 

 

Download example PBIX file

 

You could create a table that holds numeric values that you can use to represent the icons.  You've got 1 icon in your example but I'm using 3, it's the same process.

 

For each numeric value, there's an associated description for what that icon means.

cfkey0.png

 

Note that these numeric values don't need any kind of relationship to your real data.

 

You can now add a table visual and add a conditional formatting rule to show the icons alongside the numeric values

cfkeyrule.png

 

cfkey1.png

 

Apply a custom formatting string  ;;; to the column which hides the numbers, then add the text description column,

 

cfkey2.png

further reading on custom formatting strings in Power BI

 

Regards

 

Phil

 

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @Jeff2Jets 

 

Download example PBIX file

 

You could create a table that holds numeric values that you can use to represent the icons.  You've got 1 icon in your example but I'm using 3, it's the same process.

 

For each numeric value, there's an associated description for what that icon means.

cfkey0.png

 

Note that these numeric values don't need any kind of relationship to your real data.

 

You can now add a table visual and add a conditional formatting rule to show the icons alongside the numeric values

cfkeyrule.png

 

cfkey1.png

 

Apply a custom formatting string  ;;; to the column which hides the numbers, then add the text description column,

 

cfkey2.png

further reading on custom formatting strings in Power BI

 

Regards

 

Phil

 

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Phil,

 

Thanks for your reply. However, I found another way to do this as a color key.

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.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.