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
Lanzette
Regular Visitor

formatting boolean values?

Hi everybody,

 

please excuse my total beginner question. I am lost 🙂

 

I created a table with boolean values in Excel. It looks like this in Power BI:

 

 

boolean-values.PNG

 

How can I change the value “True” into something else? Preferably, a graphic icon? This is what I’m aiming for:

 

boolean-values2.PNG

 

Many hanks for your suggestions and ideas

 

Ulrich

1 ACCEPTED SOLUTION

You're choosing #2 but based on what you're trying to do it looks like you really want #1.

 

For #1 you can go to the query editor, select all the columns, and do a replace values (replace True with the dot)

 

Austin is VP Operations at PowerPivotPro and a professional self-service enthusiast 🙂

View solution in original post

5 REPLIES 5
austinsense
Impactful Individual
Impactful Individual

I really like this question - there are two ways to interpret what you're asking ...

 

1. How do I convert the Trues to Dots in the data itself?

OR

2. How do I convert the Trues to Dots in the visualization

 

For #2, Create a New Measure

NewMeasure = IF ( [Measure] = TRUE(), "●", BLANK() )

 

For #1, Prob Don't Want to Do This, but you would follow a similar if/then logic using the query editor

Austin is VP Operations at PowerPivotPro and a professional self-service enthusiast 🙂

Hi Austin,

 

Thank you so much for your answer!

 

For my purpose I stick to choice #2, creating a new Measure.

 

Unfortunately, I get an error message when I use your DAX code:

 

error.PNG

 

I modified your DAX to:

 

DatabaseFormat = IF ( Themen[Database] = TRUE(); "●"; BLANK() )

 

 

The error message is in German (is there a way to change the language?). It basically says: No single value can be detected in the column Database of the table Themen. I also tried it without the table name (just: [Database]) and got a similar message.

 

Any idea what I'm doing wrong?

 

Ulrich

You're choosing #2 but based on what you're trying to do it looks like you really want #1.

 

For #1 you can go to the query editor, select all the columns, and do a replace values (replace True with the dot)

 

Austin is VP Operations at PowerPivotPro and a professional self-service enthusiast 🙂

Hi Austin,

 

for some reason I can't get the New Measure method to work. But #1 (replacing the values in the query editor) worked out great.

 

Thanks very much for your help

 

Ulrich

Sean
Community Champion
Community Champion

If we could create KPIs within PBI this would have been easier

Currently you have to create in PowerPivot and Import to PBI

https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-import-and-display-kpis/

 

If you'd like to be able to do this in PBI Vote here

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/8276622-create-kpi-in-designer-fi...

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.