Forum Discussion
Remove Duplicates, appending following columns
Hi HarveyM ,
Right click on column "envID">select “group by”:
Then fill in as shown below:
Then add a custom column as below:
= Table.AddColumn(#"Grouped Rows", "Custom", each Table.Column(Table.Distinct([ALL]),"Service Owner"))
Finally choose extract values:
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my reply as a solution!
Hi v-kelly-msft
I can't get this to work, as every time I create the custom column it creates it as a table, instead of a list meaning I can't extract values.
I have tried a few different methods of getting it to create a list instead of a table but have had no luck. Do you have any pointers on this ?
Thank you
- v-kelly-msft5 years ago
Community Support
Hi HarveyM ,
What HotChilli considered is correct,the expression I showed you is a new query in the formular bar,not in the Custom Column dialog.
In dialog,it should be as below:
=Table.Column(Table.Distinct([ALL]),"Service Owner")Once you will get a distinct list from each ID using the above expression,then expand it,you will get the final result.
Best Regards,
KellyDid I answer your question? Mark my reply as a solution!