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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Quenjo
Helper II
Helper II

How to display a boolean value in a Marix

Hi community,

 

I was wondering how to display a boolean value in a Matrix. This seems a really easy task but it does not work.

 

Let me explain it with an example :

 

2022-06-09 16_33_09-Sans titre - Éditeur Power Query.png

 

This is what my table column looks like. Very basic, a simple boolean.

Now, when I insert it in a Matrix, it returns the "number of u_is_public" instead of just returning "True" or "False" where it should :

 

2022-06-09 16_34_46-Sans titre - Power BI Desktop.png

 

I have tried to change in the "visualizations" options but the only options here are : "Number" and "Number (distinct elements)"...

 

Do you have a solution to this issue ?

 

Many thanks,

Jonathan

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

  1. A simple solution would be to add a conditional column.Boricuanet_0-1654789512397.png
  2. Boricuanet_2-1654789682740.png


  3. Keeping the text-like values.
  4. Boricuanet_3-1654789890735.png

    I assume that the data already has them of Boolean type. So you can do the same for Boolean values, create a copy of the column, text-like formatting.

Best regards.

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

  1. A simple solution would be to add a conditional column.Boricuanet_0-1654789512397.png
  2. Boricuanet_2-1654789682740.png


  3. Keeping the text-like values.
  4. Boricuanet_3-1654789890735.png

    I assume that the data already has them of Boolean type. So you can do the same for Boolean values, create a copy of the column, text-like formatting.

Best regards.

@Syndicate_Admin 

 

Keeping them in text values worked !

When I imported the whole dataset, I reworked all the fileds so that they correspond to the value they contain. For some integer fields, without transforming the data from text to int I could not do the calculations with these fields. I thought that with boolean values it worked the same way.

 

Many thanks, for the answer ! Solved 🙂

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.