Forum Discussion
Rankx with Dates
- Anonymous6 years ago
Hi Anonymous ,
Create a Calculated Column
RANK Column = RANKX(FILTER('Table','Table'[Customer] = EARLIER('Table'[Customer]) && 'Table'[Material]= EARLIER('Table'[Material])),'Table'[Order_date],,ASC)Regards,
Harsh NathaniDid I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Hi Anonymous,
thanks for the quick reply. I'm talking about the rankx formula.
I created the table: Report_Table
Report_Table = SUMMARIZE(table1;table1[customer];table1[material];table1[Order_date])
Ranking1(calculated column):
Report_table:
| Customer | Material | Order_date | Ranking1 |
| A | 123 | 1.2.2019 | 1 |
| A | 123 | 5.2.2019 | 1 |
| A | 123 | 6.3.2019 | 1 |
| A | 124 | 1.2.2019 | 1 |
| B | 123 | 10.4.2019 | 1 |
| B | 123 | 15.6.2019 | 1 |
| C | 124 | 3.8.2019 | 1 |
| C | 124 | 15.9.2019 | 1 |
So basically the ranking is not working like that.
Do you have an idea on that?
BR
Lanko
Hi Anonymous ,
Create a Calculated Column
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
- powerbifuddaa2 years ago
Helper II
Hi all, Hi Harsh,
Great formula. Any idea how I can achieve this:
Thanx for your help!
Regards, Elmer