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

Rank x

Hi All, 

 

I'm Looking at creating a ranking system that ranks a store by all Months 

 

Store NameMonth Rank
Store 1Aug1
Store 1Sep2
Store 1Oct2
Store 1Nov1
Store 1Dec1

 

Something like above i want to rank stores based on their  total usages by Month so as a result i can create a Matrix table that says store 1 has been rank 1 x amount of times. 

 

Thanks , James.  

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @JamesBurke 

You can refer to the following solution.

Sample data 

 vxinruzhumsft_0-1715910195179.png

You can create a measure

 

MEASURE =
RANKX (
    ALLSELECTED ( 'Table'[Store Name], 'Table'[Month] ),
    CALCULATE ( SUM ( 'Table'[Usage] ) ),
    ,
    ASC,
    DENSE
)

 

 Output
vxinruzhumsft_7-1715910541162.png

 


Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @JamesBurke 

You can refer to the following solution.

Sample data 

 vxinruzhumsft_0-1715910195179.png

You can create a measure

 

MEASURE =
RANKX (
    ALLSELECTED ( 'Table'[Store Name], 'Table'[Month] ),
    CALCULATE ( SUM ( 'Table'[Usage] ) ),
    ,
    ASC,
    DENSE
)

 

 Output
vxinruzhumsft_7-1715910541162.png

 


Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

 

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.