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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

dax

Hi

i am looking fox to show top5 problems

greeshma_0-1616928008646.png

 

2 ACCEPTED SOLUTIONS
ryan_mayu
Super User
Super User

@Anonymous 

you can try TOPN

https://docs.microsoft.com/en-us/dax/topn-function-dax

or

use topN filter

2.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

v-yetao1-msft
Community Support
Community Support

Hi @Anonymous ,

The problem you asked is not very clear , I hope you can give more data .

I will probably give a plan based on your needs . If you have any questions, you can continue to ask .

 

You can use TOPN DAX to create a table and filter the top5 of the data you want .

Column = TOPN(5,'Table','Table'[Sales],DESC)

 

The effect is as shown:

Ailsa-msft_0-1617073665702.png

Ailsa-msft_1-1617073665705.png

 

Or you can use the TopN function in Filters . Add the data fields in By value to filter .

Ailsa-msft_2-1617073665706.png

 

 

Best Regards

Community Support Team _ Ailsa Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yetao1-msft
Community Support
Community Support

Hi @Anonymous ,

The problem you asked is not very clear , I hope you can give more data .

I will probably give a plan based on your needs . If you have any questions, you can continue to ask .

 

You can use TOPN DAX to create a table and filter the top5 of the data you want .

Column = TOPN(5,'Table','Table'[Sales],DESC)

 

The effect is as shown:

Ailsa-msft_0-1617073665702.png

Ailsa-msft_1-1617073665705.png

 

Or you can use the TopN function in Filters . Add the data fields in By value to filter .

Ailsa-msft_2-1617073665706.png

 

 

Best Regards

Community Support Team _ Ailsa Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

ryan_mayu
Super User
Super User

@Anonymous 

you can try TOPN

https://docs.microsoft.com/en-us/dax/topn-function-dax

or

use topN filter

2.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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