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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ffzhang2396
Regular Visitor

Display Column data as rows

Hi everyone,

I have run into an issue with displaying data in a certain way on powerBI. I have several columns of boolean data type with the column headers being the type i want to display by. However, I am unable to get the column headers to display as rows with the count of the number of TRUE for that column. I have included some example data and expected output below.

My table looks like this:

C8jx8WU

 

When I try to create a table with this data, the output is this:
wAUH85L

 

However, I want to display the table like such:

NsCnL0c

I have tried to use a matrix to display the data, but it does not let me sort by Types or by number of True.

 

Any help is appreciated!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I've achieved this by:

 

-unpivoting all the colums, creating this:

pic1.JPG

then in a table or matrix with a visual filter for TRUE, I created this:pic2.JPG

 

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

I've achieved this by:

 

-unpivoting all the colums, creating this:

pic1.JPG

then in a table or matrix with a visual filter for TRUE, I created this:pic2.JPG

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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