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
Hi all -
Quick question from a brand new user with a problem I am hoping to solve today. I am looking to display the most frequent responses to a survey--data is stored in Excel. Let's say it's "what are your favorite fruits." I would like the variables to be counted and the top three items - as text - show up in a power BI report. I've been doing a bit of googling, but haven't found quite the right trick yet. Thanks in advance for advice!
Solved! Go to Solution.
Hi @DLB13 ,
Would you please show us some sample data? And we can help you well.
According to your description, I created some sample data myself, hope this will help you.
Please refer to the pbix file: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EaWiun0mzHNBkwGdlV...
Best Regards,
Dedmon Dai
Hi @DLB13 ,
Would you please show us some sample data? And we can help you well.
According to your description, I created some sample data myself, hope this will help you.
Please refer to the pbix file: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EaWiun0mzHNBkwGdlV...
Best Regards,
Dedmon Dai
It's hard to answer this precisely without know what the names of your tables and columns are, but you should be able to use a pattern like the following using CONCATENATEX over the TOPN function:
CONCATENATEX( TOPN(3, Responses[Fruits], [Count of Responses) , Response[Fruits], ",")
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.
| User | Count |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 65 | |
| 31 | |
| 28 | |
| 24 |