Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
durgaraop21
Helper II
Helper II

Identify duplicates data

How to check duplicate values in a column1, create new  adde column, if in case duplicate values present in the column1 display as well new added column ...

With out grouping, Is there any alternativies to fing the duplicates ?like IF condition like this,,
ex: i have tried somthing in statically : if ([Column1] <> "null") then Table.RowCount(Table.SelectRows(#"Changed Type5", each ([Column1] = "Bike"))) else ""
but is there in any altenativies.....

 

Ex :

 

durgaraop21_1-1684231898172.png

 

 

 

 

2 REPLIES 2
AlienSx
Super User
Super User

hi @durgaraop21 try this

lst = List.Buffer(List.RemoveNulls(prev_step[Column1])),
next_step = Table.AddColumn(prev_step, "cnt", (x) => if x[Column1] = null then "" else List.Count(List.PositionOf(lst, x[Column1], Occurrence.All)))

Thanks for the reply, But not working above Logic, Use only Power query Editor only.....

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.