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
rds_2019
Helper I
Helper I

N is to N relationship Data Shaping

Hi All,

My Data is in below shape. I am trying to figure out a way, where I can report showing how may Points each "Detail" (from 1 to 17) has got as "TRUE" in chart  format

 

So any ideas how can this be achieved by change in data and how to show in which chart?

 

Regards,

RDS

 

 

PointsDetail 1Detail 2Detail 3Detail 4.....Detail 15Detail 16Detail 17
a1TRUEFALSEFALSEFALSE     TRUEFALSEFALSE
a2FALSEFALSETRUETRUE     TRUEFALSETRUE
a3TRUETRUEFALSEFALSE     TRUEFALSETRUE
a4TRUETRUEFALSEFALSE     FALSEFALSEFALSE
a5FALSETRUETRUETRUE     FALSETRUEFALSE
a6FALSETRUEFALSETRUE     FALSETRUETRUE
a7TRUE FALSETRUE     FALSEFALSEFALSE
a8TRUE FALSETRUE     FALSEFALSEFALSE
a9TRUE TRUE      TRUEFALSEFALSE
a10  TRUE       TRUETRUE
.           TRUE
.TRUE          TRUE
.           TRUE
.TRUE          TRUE
.            
.            
.            
.            
.            
a100TRUEFALSEFALSETRUETRUETRUEFALSEFALSEFALSEFALSEFALSEFALSE
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,  you can try by using unpivot in power query:

 

unpivot.png

 

And then add attribute as axis and count of value as value in a columnchart with value filter equals True: 

 

chart.png

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi,  you can try by using unpivot in power query:

 

unpivot.png

 

And then add attribute as axis and count of value as value in a columnchart with value filter equals True: 

 

chart.png

 

 

Thanks you for replying. It does work out well

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.

Top Solution Authors