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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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