Forum Discussion
Reduce/eliminate duplicate Row Number
How would I modify this statement to get ride of the duplicate row numbers? Ie it can be on any characteristic of the row - qty seems to be the obvious one....
Hi, delsbg ;
You could try it.
Row number = RANKX(FILTER('Table',[Part Number]=EARLIER('Table'[Part Number])),'Table'[Date]&[Qty],,ASC)The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- parry2kSuper User
delsbg maybe concatenate date and qty column and use that Table[Date] & Table[Qty]
✨ Follow us on LinkedIn and to our YouTube channel
Learn about conditional formatting at Microsoft Reactor
My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.
- v-yalanwu-msftCommunity Support
Hi, delsbg ;
You could try it.
Row number = RANKX(FILTER('Table',[Part Number]=EARLIER('Table'[Part Number])),'Table'[Date]&[Qty],,ASC)The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.