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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
JamesBurke
Helper III
Helper III

Store Rank

Hi All

 

I want to create a dynamic column that keeps track of a number of ranks for a store . 

 

Then i can create a drill down page into a trophy case of sorts , so im thinking when drilled down onto a specifc store it would say x amount of Rank 1's for example. 

 

Thinking maybe a count of Rank =1 but as the ranks are Measurements i'm not sure if this is possible. 

 

JamesBurke_0-1722871502590.png

 

 

Something like this ( made up Table ) but for each Month so it would have an additonal column called Mth & Yr in which every Month it would keep a record of their ranks so i can refrence them. 

 

Screenshot 2024-08-05 162812.pngScreenshot 2024-08-05 162827.pngScreenshot 2024-08-05 162851.png

These are my Three main Tables 

 

 

 

Thanks , James.

2 REPLIES 2
Anonymous
Not applicable

Hi @JamesBurke ,

 

Does Measure[Rank] change results due to external filtering? If so, I doubt this is possible. This is because the calculated column [Monthly Rank] is only recalculated on memory refresh, which means that it can't change the results due to visual interactions.

vcgaomsft_0-1725343483586.png

If it is only filtered by 'table' [Mth & Yr] and 'table' [Building Name], you could try creating such a calculation table:

 

Table 2 = ADDCOLUMNS(SUMMARIZE(ALL('Table'),'Table'[Building Name],'Date'[Mth & Yr]), "Monthly Rank", RANKX(ALL('Table'[Building Name]),CALCULATE([Your Measure])))

 

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

VijayP
Community Champion
Community Champion

@JamesBurke 

Rank has to be based on certain base value . for example based on sales I want to Rank the Promotions 

Rank = RANKX(DimPromotion,[Total Sales])
you can create the column which is dynamic in nature based on the chnage in the sales value (for above example)



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.