Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 |
---|---|
20 | |
18 | |
17 | |
11 | |
7 |
User | Count |
---|---|
28 | |
27 | |
13 | |
12 | |
12 |