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

Conditional Format Icons based on actual Field values

Hi Community,

 

Is it possible to use a conditonal icons based on a acutal boolean data value. 

 

For example my data is either True or False and if it is True then show an icon A else show Icon B 

 

Please advise if this is possible

 

Thanks

1 ACCEPTED SOLUTION
SteveCampbell
Memorable Member
Memorable Member

You can, if you change the column type to "Whole Number". This will evaluate TRUE as 1, and FALSE as 0.

 

then, select the table or matrix, go the the visualizations pane.

Here, you will see "Conditional formatting".

Expand this, and select the column you desire. Turn on "Icons".

Select Rules and assign number 1 the true value icon, and 0 the false value icon.

 

If you want a detailed run through of icons, check out our blog over on powerbi.tips by @Mike_Carlo :

https://powerbi.tips/2019/07/icons-upon-icons/

 

 

Thanks!

Love hearing about Power BI tips, jobs and news?
I love to share about these - connect with me!

Stay up to date on  linkedin-logo.png
Read my blogs on  powerbi.tips_.png

Remember to spread knowledge in the community when you can! tu.png



Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



View solution in original post

4 REPLIES 4
SteveCampbell
Memorable Member
Memorable Member

You can, if you change the column type to "Whole Number". This will evaluate TRUE as 1, and FALSE as 0.

 

then, select the table or matrix, go the the visualizations pane.

Here, you will see "Conditional formatting".

Expand this, and select the column you desire. Turn on "Icons".

Select Rules and assign number 1 the true value icon, and 0 the false value icon.

 

If you want a detailed run through of icons, check out our blog over on powerbi.tips by @Mike_Carlo :

https://powerbi.tips/2019/07/icons-upon-icons/

 

 

Thanks!

Love hearing about Power BI tips, jobs and news?
I love to share about these - connect with me!

Stay up to date on  linkedin-logo.png
Read my blogs on  powerbi.tips_.png

Remember to spread knowledge in the community when you can! tu.png



Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



Thanks Steve, but under the Summarization drop down which do i use?

 

There is no option to choose Dont Summarize

2019-08-13 12_02_34- Icons.png

If necessary, first, change the data column to "Whole Number"

Select the column in report view, go to the modelling tab, then under data type select whole number.

 

Then, you can select SUM, you will need to have the granularity correct in the table.

Otherwise, you could do something like "Greater than or equal to 1".

 

 

 

Love hearing about Power BI tips, jobs and news?
I love to share about these - connect with me!

Stay up to date on  linkedin-logo.png
Read my blogs on  powerbi.tips_.png

Remember to spread knowledge in the community when you can! tu.png



Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



Thanks Steve,

 

That works for me

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

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.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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