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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have this table as result of a quiz & need build a new table with only a selected columns using the headers and the count of the answer yes & no. The headers must be in the rows and the yes & no in the columns.
| Age | P1 | P2 | P3 | … PN |
| 15 | YES | YES | YES | YES |
| 16 | NO | YES | YES | YES |
| 18 | YES | NO | NO | YES |
| 20 | YES | NO | NO | YES |
| 22 | YES | NO | NO | YES |
| 7 | NO | NO | YES | YES |
| 9 | NO | NO | NO | NO |
Need build this!!!
| YES | NO | |
| Q4 | 4 | 3 |
| Q1 | 2 | 5 |
| Q2 | 3 | 4 |
| Q3 | 6 | 1 |
Under Edit Query
1. Create unique ID
2. Select all column except unique ID
3. Transform > Any Column > Unpivot Column
4. Home > Close > Close & Apply
Click Matrix under Visualizations
Rows: Attribute
Columns: Value
Values: Count of unique ID
You have not received any replies... Please read this: https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Get-Your-Question-Answered-Quickly/td-...
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 7 | |
| 7 | |
| 7 |