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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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-...
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
15 | |
7 | |
5 |