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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

RANKX based on another column in table

Hi Experts

I am trying to rank my date column Month Start date with the most current date as 1 so

1. 1/06/2019

2.1/5/2019

and so up to 1.7.2016 which should by index no. 36

cannot get this to work.Capture.PNG

 

 

 

 

 

 

 

 

 

 

Index = RANKX(FILTER(PMS_FINANCIAL_PDS,PMS_FINANCIAL_PDS[FISCAL_MON_START_DT]=EARLIER(PMS_FINANCIAL_PDS[FISCAL_MON_START_DT
])),PMS_FINANCIAL_PDS[Month Start],,ASC,Dense)
1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

Try if that works.


Index = 
RANKX(
    PMS_FINANCIAL_PDS,
    PMS_FINANCIAL_PDS[Month Start],,,
    Dense
)
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski

 

View solution in original post

3 REPLIES 3
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

Try if that works.


Index = 
RANKX(
    PMS_FINANCIAL_PDS,
    PMS_FINANCIAL_PDS[Month Start],,,
    Dense
)
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski

 

Anonymous
Not applicable

many thanks excellent.

Hi @Anonymous 

 

Always happy to help!

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.