Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi
Below is the snapshot of sample data. I need to generate distinct/unique ID column (this will be a new column in the same table) based on the 2 columns storeID and productID.
I'm trying to do this in power query edit mode.
Request to please help on the same.
Thanks
Thanks for responding.
Expected output attached
Index will add unique record for all rows.
I need unique id column based on unique values from both storeid and productid
Sorry,
But according to your example these are just random numbers.
Provide more sample data so we can better understand the expected outcome.
Hi
These are not just random numbers. It created unique id for Key field 1,2,3,4 for unique combination of Storeid and productid.
Here is the sample data.
StoreID | ProductID |
1 | 1 |
1 | 2 |
1 | 1 |
1 | 2 |
2 | 1 |
2 | 2 |
2 | 1 |
User | Count |
---|---|
91 | |
73 | |
68 | |
63 | |
55 |
User | Count |
---|---|
98 | |
89 | |
73 | |
63 | |
61 |