Forum Discussion
Find duplicates
Hi,
I want to create a new table from the table below only containg duplicated item lines.
A customer should only have 1 main page for each edition in a publication. In this case Name A's 2 lines should be included in the new table. Any ideas how I can do this?
From your original query, then it appears to be the expected output (New table with duplicates):
This can be achieved using duplicate table and then simply using 'Keep Duplicates' (option mentioned in the previous comments by @Fowmy).
If this post solved your query, mark this post as a solution and give a thumbs up !!!
7 Replies
- FowmySuper User
wenners68
In Power Query, you can you the Keep Duplicates option to keep only the duplicated records if you mean that way.________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
- wenners68Helper II
Hi, I only want the duplicates, nothing else.
- Anand24Super User
From your original query, then it appears to be the expected output (New table with duplicates):
This can be achieved using duplicate table and then simply using 'Keep Duplicates' (option mentioned in the previous comments by @Fowmy).
If this post solved your query, mark this post as a solution and give a thumbs up !!!
- AnonymousNot applicable
You can achieve this in Dax using SUMMARIZE
Go to the Data tab and select New table,
NewTable = SUMMARIZE('TableName','TableName'[Customer],'TableName'[Item],'TableName'[Publication],'TableName'[Edition])note - ensure you change "'TableName'" to the name of the table that you want to reference.
Karlos.
- Anand24Super User