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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply

Looking for repeated lines or not with an unique ID

Good morning to everyone. I hope you are all good!

 

I need to know if a line is repeated in a table looking for a unique ID (column "ID único"), since we know there are some repeated files. But I need to know which lines are repested.  the Table is: 

Chema_Ortega_Ga_0-1728385036140.png

If the line is repeated, I need in another column that say "YES", and no repeated "NO". Does anyone know how to do this? Thanks a lot, best regards,

 

Chema Ortega

1 ACCEPTED SOLUTION
Kedar_Pande
Super User
Super User

Create a calculated column

Is Repeated = 
IF(
COUNTROWS(
FILTER(
YourTableName,
YourTableName[ID único] = EARLIER(YourTableName[ID único])
)
) > 1,
"YES",
"NO"
)

If this helped, a Kudos 👍 or Solution mark would be great!
Cheers,
Kedar Pande
www.linkedin.com/in/kedar-pande

View solution in original post

2 REPLIES 2

Hi Pedar,

 

Thanks soooo much!!! That made the solution!!!! GREAT!!!!

 

Best regards,

 

Chema ortega

Kedar_Pande
Super User
Super User

Create a calculated column

Is Repeated = 
IF(
COUNTROWS(
FILTER(
YourTableName,
YourTableName[ID único] = EARLIER(YourTableName[ID único])
)
) > 1,
"YES",
"NO"
)

If this helped, a Kudos 👍 or Solution mark would be great!
Cheers,
Kedar Pande
www.linkedin.com/in/kedar-pande

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.