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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.