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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.