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
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
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.