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.
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:
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:
Is there anyway to create a relationship to drill back inott he original record?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |