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

Filter Top10 Rows with duplicate values

I want to show the top 10 rows based on the selected period filter.

But I won't able to active this by using the RANKX function or TOPN in Filter Panel.

 

Srinivasan_e_0-1606994368303.png

Kindly Help me to Order by Desc based on Sales Quantity and Show only Top 10 Values in Bar chart.

3 REPLIES 3
v-yiruan-msft
Community Support
Community Support

Hi @Anonymous ,

Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem with you. Thank you.

Otherwise, you can create a measure as below and apply the filter on the visual with measure <=10.

 

Rank = 
RANKX (
    ALLSELECTED ( 'Table' ),
    CALCULATE ( SUM ( 'Table'[Sales Quantity] ) ),
    ,
    DESC,
    DENSE
)

 

Filter Top10 Rows with duplicate values.JPG

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

This is Not working in My case, Because the Date Period is dynamically selected from the filter, So we need to Use Mesure kind of thinks. Above send link explained in changes in the table, not in mesures.

Kindly help me to fix this issue.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.