Forum Discussion
RANKX
- Anonymous3 years ago
Hi smedina1 ,
Please try adding an index column in the PowerQuery Editor and then a new calculated column in the desktop.
State = CALCULATE ( COUNT ( 'Table'[Index] ), 'Table'[Order Number] = EARLIER ( 'Table'[Order Number] ) && 'Table'[Index] <= EARLIER ( 'Table'[Index] ) )Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hello,
Thank you for your response.
I tried adding an index column and then apply calculated column, but it's not working, I don`t know why
- Anonymous3 years agoNot applicable
Hi smedina1 ,
🤔Try:State Order = CALCULATE ( COUNTROWS ( 'Table' ), 'Table'[Order Number] = EARLIER ( 'Table'[Order Number] ) && 'Table'[Index] <= EARLIER ( 'Table'[Index] ) )The PBIX file is attached for reference.
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data