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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Super User
Super User

@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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.