cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
karinafreitass
Helper III
Helper III

Comprobar valores duplicados

Hola, chicos

Tengo una tabla llamada "flancamento" y me gustaría encontrar filas duplicadas.

Pensé en una solución que devolvería valores duplicados en una nueva columna.

Screenshot (148).png

Entonces estoy creando una columna calculada y estoy usando la siguiente función, pero tal vez necesito agregar más parámetros:

Duplicados: IF(
COUNTROWS(
FILTER(fLancamento,fLancamento[Liberación]-
ANTERIOR(fLaunch])))>1,1,BLANK()

)

¿Cómo podría lograr este resultado?

Gracias

Karina

4 REPLIES 4
v-yiruan-msft
Community Support
Community Support

Hola @karinafreitass ,

Puede lograrlo mediante Power Query o crear una columna calculada para lograrlo, busque todos los detalles en los siguientes blogs.

Identificar duplicados mediante Power Query

Identificar duplicados y mostrar registros

Saludos
Rena
Equipo de apoyo comunitario _ Rena Ruan
Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más.

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

@karinafreitass, Tu fórmula parece estar bien. Espero que esté creando una nueva columna.

Usted puede tener nueva columna como

if( countx(filter(fLancamento,fLancamento[Release] -EARLIER(fLaunch])), fLancamento[Release]) >1 , 1, blank())

Nueva medida como

if( countx(filter(allselected(fLancamento),fLancamento[Release] ?EARLIER(fLaunch])), fLancamento[Release]) >1 , 1, blank())

Proporcione sus comentarios y consejos para nuevos videos
Tutorial Series Dax Vs SQL Direct Query PBI Consejos
Apreciamos tus Felicitaciones.

CNENFRNL
Super User
Super User

Hola, @karinafreitass , es posible que desee probar esta medida en una columna calculada

RESULT = IF ( CALCULATE ( COUNTROWS ( flancamento ), ALL ( flancamento[Index] ) ) > 1, "Duplicated" )

flancamento[Índice] es la primera columna del conjunto de datos con los números cardinales 1, 2, 3 ...

Screenshot 2020-10-19 022817.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

@CNENFRNL

@amitchandak 

Thanks for help.

I've identified a problem. In the visual (table) I identified that the power Bi is generating duplicity as 1 record only and is making the sum of the values. So there's not going to be duplicate values, and that's not cool. 

I need to identify if there are duplicate records in the entire row

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors