Forum Discussion

kdaya's avatar
kdaya
Helper I
7 years ago
Solved

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 ...
  • SteveCampbell's avatar
    7 years ago

    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  
    Read my blogs on  

    Remember to spread knowledge in the community when you can!