Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
How can I pivot a table that is in this structure:
| Home | Away | Boy | Girl |
| Yes | No | Yes | No |
| No | Yes | No | Yes |
| Yes | No | Yes | No |
| Yes | Yes | No | Yes |
Into something like this to report on
| Yes | No | |
| Home | 3 | 1 |
| Away | 2 | 2 |
| Boy | 1 | 3 |
| Girl | 2 | 2 |
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.
@thmontePivot the first table that you gave will return this:
Pivot
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 Result
Is there anyway to create a relationship to drill back inott he original record?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!