Forum Discussion
sabd80
Helper IV
2 years agoDAX flag the first occurrence
Hi, I have below data, I would like to create a calculated column (Rank) to flag only one record with 1 for a supplier that have multiple lines with the same date. for example, supplier 12345 has 9...
- 2 years ago
Hi sabd80
You can achieve this by creating an index column, Hope the below pattern fullfuils your requirementP.S. calculated columns can degrade your report performance.
If my answer fulfills your requirement then please mark my post as solution.
Thanks
Tharun
Ahmedx
Super User
2 years agoif the supplier has the same dates, then only in power query you can do this
- sabd802 years ago
Helper IV
Ahmedx , Thanks for your solution.
I need the other records, so I can't remove them, plus I have a huge data all these transformation will affect the performance of the report.- Ahmedx2 years ago
Super User
to do this remove the last two steps
and then you will be able to work with the data and filter it using DAX