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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
SMichels
New Member

Using Custom Shapes with Conditional Formatting for Color Fill

Hello! 

 

I am using a filled shape in a PowerBI report to indicate project status. The shape fill color is based on a status indicator being applied through data. Right now I am just using a generic circle, but that is kind of bland. 

 

I'd like to use something more evocative like a car, or boat, or whatever based on the project team. Is there a way to do that? 

 

Thank you for the help! I'm new-ish to Poewr BI but finding a lot of enjoyment in working with the tool! 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @SMichels 

You can use Unicode codes to visualize various projects:

Here is my sample data:

vjialongymsft_0-1731655519201.png



Then try the following measure:

Measure = SWITCH(TRUE(),
SELECTEDVALUE('Table'[Category]) = "boat" , UNICHAR(128674),
SELECTEDVALUE('Table'[Category]) = "bus" , UNICHAR(128652),
SELECTEDVALUE('Table'[Category]) = "car" , UNICHAR(128663),
SELECTEDVALUE('Table'[Category]) = "train" , UNICHAR(128644)
)


Result:

vjialongymsft_1-1731655566350.png

Note that when using it, you need to convert hexadecimal to decimal

Emoji unicode characters for use on the web (timwhitlock.info)

 

 

 

 

 

 

 

Best Regards,

Jayleny

 

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

2 REPLIES 2
Anonymous
Not applicable

Hi @SMichels 

You can use Unicode codes to visualize various projects:

Here is my sample data:

vjialongymsft_0-1731655519201.png



Then try the following measure:

Measure = SWITCH(TRUE(),
SELECTEDVALUE('Table'[Category]) = "boat" , UNICHAR(128674),
SELECTEDVALUE('Table'[Category]) = "bus" , UNICHAR(128652),
SELECTEDVALUE('Table'[Category]) = "car" , UNICHAR(128663),
SELECTEDVALUE('Table'[Category]) = "train" , UNICHAR(128644)
)


Result:

vjialongymsft_1-1731655566350.png

Note that when using it, you need to convert hexadecimal to decimal

Emoji unicode characters for use on the web (timwhitlock.info)

 

 

 

 

 

 

 

Best Regards,

Jayleny

 

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

marcelsmaglhaes
Super User
Super User

Hey @SMichels ,

Welcome to Power BI, and it’s great to hear you’re enjoying it! 😊

Power BI doesn’t natively support dynamic shape changes, but you can try to use Custom Visuals from the Power BI marketplace or even replace the generic circle with custom images that dynamically change based on the project team or status. You will need prepare the images, include in your dataset a column with urls or binary data linking to the custom icons, and display that in a table, for example.

Try to check these posts to get inspiration: Solved: Adding icons/images to matrix - Microsoft Fabric Community
Solved: Dynamic Image Display - Microsoft Fabric Community


Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!



Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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