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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.