Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello,
I have the below table example where each question is a column and the answers are the corosponding rows under. I ultimatley need to show my top 5 questions and how many times each were answered with a "Y" in a chart. I am looking for assistance with the formula to use to show this.
Any help is greatly appreciated.
Thanks
it's better to unpivot your table in M code to a table with two columns, Question and Answer
=Table.UnpivotOtherColumn(YourTable,"Question","Answer")
and upload it into your model
put the Question column in the row area
and put the below measure in the value area
CountY=CALCULATE(COUNTROWS(YourTable),YourTable[Answer]="Y")
Can you define this please? ->"show my top 5 questions"
--
Post the data as text (not a picture) and I'll have a go
I would like to show which of the top 9 questions have more "Y" in responses. For example:
Question 8 would be top question with all "y"s
Question 3 would be next with 4 "Y"s,
and so on.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 |