Forum Discussion
Unique Serial Numbers even when we have duplicate records
- 1 year ago
If you try doing it with a dax measure then you get inconistent results depending on the filters.
Consider doing it in Power Query, so your reports will show a consistent serial number for the rows.
For example ...
Create some test data
Group By Vendor using the Operator = All Rows
Add a custom column
Table.AddIndexColumn([Count],"Index",1)Expand the Serial Number column
Remove unneeded columns
Congratualations, you now have a serial number for each row that restarts from 1 for each Vendor
Please click thumbs up because I have tried to help.
Then click [accept solution] if it works.
Thank you !
Hi csb ,
Just wanted to check if you got a achance to review the suggestions provided and whether that helped you resolve your query?
Thank you speedramps , Greg_Deckler and Ashish_Mathur for your insights to the query.