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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Matrix - conditional formatting - Icon

Hi Community,

I want to get the following formatting in my matrix analogous to my table.

 

as an example my table

000046.jpg

 

here my matrix without the conditional formatting

000047.jpg

 

this is what it should look like

000048.jpg

 

 

 

 

 

 

 

Is such a thing possible with a matrix and if so how can it be?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

Hi  @Anonymous ,

 

You may create a measure using UNICHAR shown as below:

 

 

Measure = SWITCH(SELECTEDVALUE('Table'[value]),
1,UNICHAR(128309),
UNICHAR(128308))

 

Or you could create a KPI column first to get a circle icon:

 

KPI column = UNICHAR(11044)

 

Then refer to the video to finish the format settings:

v-kelly-msft_1-1606986121283.pngv-kelly-msft_2-1606986134365.png

 

 

And you will see:

v-kelly-msft_3-1606986148262.png

 

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

View solution in original post

3 REPLIES 3
v-kelly-msft
Community Support
Community Support

Hi  @Anonymous ,

 

You may create a measure using UNICHAR shown as below:

 

 

Measure = SWITCH(SELECTEDVALUE('Table'[value]),
1,UNICHAR(128309),
UNICHAR(128308))

 

Or you could create a KPI column first to get a circle icon:

 

KPI column = UNICHAR(11044)

 

Then refer to the video to finish the format settings:

v-kelly-msft_1-1606986121283.pngv-kelly-msft_2-1606986134365.png

 

 

And you will see:

v-kelly-msft_3-1606986148262.png

 

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

Perfect solution for me 😊  (downloaded the pbix)

amitchandak
Super User
Super User

@Anonymous , not very clear. Refer if this can help. Look how a measure is created below(in blog)

https://exceleratorbi.com.au/conditional-formatting-using-icons-in-power-bi/

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.