Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Magali11
New Member

Build a new table with the count of one value

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. 

 

AgeP1P2P3… PN
15YESYESYESYES
16NOYESYESYES
18YESNONOYES
20YESNONOYES
22YESNONOYES
7NONOYESYES
9NONONONO

 

Need build this!!!

 

 YESNO
Q443
Q125
Q234
Q361
2 REPLIES 2
RichardTam
Helper I
Helper I

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

daxer-almighty
Solution Sage
Solution Sage

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors