cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Accepted Solutions
Highlighted
Super User V
Super User V

Re: RANKX based on another column in table

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
Highlighted
Super User V
Super User V

Re: RANKX based on another column in table

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

Highlighted
Anonymous
Not applicable

Re: RANKX based on another column in table

many thanks excellent.

Highlighted
Super User V
Super User V

Re: RANKX based on another column in table

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

August Community Highlights

Check out a full recap of the month!

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Kudoed Authors