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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
thmonte
Helper IV
Helper IV

Help transforming a table? Or pivoting?

How can I pivot a table that is in this structure:

 

 

HomeAwayBoyGirl
YesNoYesNo
NoYesNoYes
YesNoYesNo
YesYesNoYes

 

Into something like this to report on

 

 YesNo
Home31
Away22
Boy13
Girl22

 

 

I thought this is called pivoting but apparently not?

 

I also want to keep this relational in a sense that if i interact with any of the Yes/No count I can see the corresponding records from the first table that has it.

3 REPLIES 3
nirvana_moksh
Impactful Individual
Impactful Individual

@thmontePivot the first table that you gave will return this:

 

PivotPivot 

Which you want to do first, and then drop in a matrix and have the attribute in Rows, in Columns have the Values and in Values have count of Values like this:

 

Final ResultFinal Result

Is there anyway to create a relationship to drill back inott he original record?

@thmonte- if you set up multiple hierachies you can drill up and down

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors