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.
Hi, I have a table with 27 colums with one called last name and 26 questions, like shown in picture. Since someone only answer some of questions and leave the blank for others. I want to calculate how many questions a person answer in a new column. How can I do that?
@Anonymous ,
You can unpivot the values using Power Query.
Select the name column and right click -> unpivot other columns, the result is:
NAME, ATTRIBUTE, VALUE
With this dataset you can easily count the blank values or nonblank values.
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 |
---|---|
42 | |
21 | |
21 | |
14 | |
14 |
User | Count |
---|---|
42 | |
39 | |
33 | |
19 | |
18 |