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
Duffster
New Member

Clustered Barchart using sum of Boolean ( 1 or 0 ) when drilling down does not just show True

I am really hoping someone can help with an issue that I am really struggling to resolve in my Power Bi ? 

 

I have a datamodel that has a number of fields identified as 1 or 0 example below 

Duffster_0-1683201792760.png

 

when I create a clustered barchart including the Sum of these values as below I would expect Clicking on each one of the clusters would filter the underlying table , for the respective column and only show the positive values ( 1 ) however it shows both the 1 and zero data. 

 

Duffster_1-1683202001213.png

 

Duffster_2-1683202070482.png

 

so in the above example I would like to just show the 5 Records in the table where OOF180 = 1 

 

Is this possible ?? 

 

Many thanks for any help in advance 

 

 

1 ACCEPTED SOLUTION
VijayP
Super User
Super User

@Duffster 

I think I found a simple way

in first place you have to unpivot you are all boolean columns into one single column and then

instead of normal table use the matrix table and you will get the required result

you can use the uploaded file




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


View solution in original post

3 REPLIES 3
VijayP
Super User
Super User

@Duffster 

I think I found a simple way

in first place you have to unpivot you are all boolean columns into one single column and then

instead of normal table use the matrix table and you will get the required result

you can use the uploaded file




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


VijayP
Super User
Super User

@Duffster 

Since you have created a series like APPPS etc and added datapoints to it , when you try to filter entire series will get filtered. So it shows values of all datapoints of that series that is why you are not able to see only 1s or 0s.

 

Need to see, but it is possible thru dax alongwith slicer




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Many thanks for such a prompt reply @VijayP.  re Need to see, but it is possible thru dax alongwith slicer

 

Could you elaborate on the method to apply using dax and slicer please ? 

 

If you need to see anything else let me know I can update the original question - Once again thanks 

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.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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