cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
theo Regular Visitor
Regular Visitor

power query code that count duplicates on multicolumn data

Need help on correcting this code to count duplicates this duplicate of current row against all rows.  Any help is appreciated

Table.AddColumn(Source, "Add",
each List.Count(
Table.SelectRows(
    Source,
    (C) => List.Intersect(Table.ToList(Source),C(Table.ToList(Source)))=5
)[Column1]
))
1 REPLY 1
Community Support Team
Community Support Team

Re: power query code that count duplicates on multicolumn data

@theo 

 

You may try using Table.Group.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 500 members 3,930 guests
Please welcome our newest community members: