Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I was able to create new table using distinct values but i was not able to create index column in this new table.
Product_Table = DISTINCT('Table'[Product])
Thanks,
Hari
Solved! Go to Solution.
Try it in Power Query. Do a GROUP BY on a copy (ore REFERENCE) of the original table. From there you can add an Index column.
Question back to you: Of what use is the INDEX column? You can't reference it like a Primary Key/Foreign Key relationship because no other table know the values. And the order of the index is not controllable, other than by preceding it with a SORT operation in Power Query.
Proud to be a Super User! | |
Try it in Power Query. Do a GROUP BY on a copy (ore REFERENCE) of the original table. From there you can add an Index column.
Question back to you: Of what use is the INDEX column? You can't reference it like a Primary Key/Foreign Key relationship because no other table know the values. And the order of the index is not controllable, other than by preceding it with a SORT operation in Power Query.
Proud to be a Super User! | |
User | Count |
---|---|
73 | |
72 | |
39 | |
25 | |
23 |
User | Count |
---|---|
96 | |
93 | |
50 | |
43 | |
42 |