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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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?

 

ImkeF
Community Champion
Community Champion

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors