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
i am trying to display top 1 place name from place table.
i tried using this formula didnt work
Solved! Go to Solution.
Hi @Anonymous ,
What you are creating is a measure or calculate column, right? Actually, it will return a table with the top N rows of Place table when you use TOPN function. You can refer the content in the following threads to get the top 1 place name.
Display Top 1 customer on Card Visual
If the above ones are not applicable for your scenario, please provide some sample data in Place table (exclude sensitive data) and your expected result with example and backend logic. Thank you.
Best Regards
Hi @Anonymous ,
What you are creating is a measure or calculate column, right? Actually, it will return a table with the top N rows of Place table when you use TOPN function. You can refer the content in the following threads to get the top 1 place name.
Display Top 1 customer on Card Visual
If the above ones are not applicable for your scenario, please provide some sample data in Place table (exclude sensitive data) and your expected result with example and backend logic. Thank you.
Best Regards
You can't return a whole row from a table into a measure/column. You have to return a scalar value.
@Anonymous , this return table not measure
example of usages
Top N = CALCULATE([measure],TOPN(10,all(sheet1[Business_Process_Type]),[measure],DESC),VALUES(sheet1[Business_Process_Type]))
Refer I have discussed this case in my video
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |