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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
navedkhan
Helper III
Helper III

Dynamic Ranking based on rolling 4 months

Hi All - looking for help here. 

 

@Zubair_Muhammad 

 

i've a table which has the following values;

Year2019    
Allocated to teamJanFebMarAprTotal
ABC21321056119
XYZ451436 95
HGS 488224154
NKO67204656189
OIU98 1613127
KLO1217 82111
AGY34282912103
YTE17864365211
UJN60379832227
Total354282360340 

 

Now i want below table - 1) to show top 4 teams based on rolling 4 months automatically sorted; 2) group rest (other than Top-4) as 'Others'

 

Capture.PNG

 

Anyone please rush to provide help me?

 

Many thanks,

N

3 REPLIES 3
navedkhan
Helper III
Helper III

Anyone please could someone reply?

 

This looks like what you need here: https://blog.gbrueckl.at/2019/05/power-bi-dynamic-topn-others-with-drill-down/

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Not exactly this is working for me.... here i have to;

 

1) Top 4 based on totals

2) and for rolling 4 months

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.