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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

buscar el mismo valor dentro del plazo

Buenos días

Tengo la siguiente pregunta, para la cual necesito ayuda.

A continuación se muestra un valor duplicado.

Este vaue duplicado fue ingresado en la base de datos dentro de 2 segundos.

Quiero tener un colum extra que me dé un "sí" si el mismo valor fue introducido en la base de datos dentro de 2 segundos.

Y, si es posible, quiero tener la posibilidad de establecer el marco temporal de 2 a 3 (o más) segundos manualmente (filtro?).

¡Su ayuda es muy apreciada!

Saludos, John

Knipsel.JPG

2 ACCEPTED SOLUTIONS
Ashish_Mathur
Super User
Super User

Hola

Arrastre solo el valor al objeto visual de la tabla y escriba estas medidas

Máximo date_time: MAX(Datos[date_time])

Date_time mínimas: MIN(Datos[date_time])

Diferencias [date_time máx.]-[date_time mínimo]

Introducido en 2 segundos, IF([Diferencia<-TIEMPO(0,0,2),"Sí","No")

Espero que esto ayude.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

amitchandak
Super User
Super User

@jwi1 , Nuevas columnas en la tabla

last date = maxx(filter(Table,Table[value] =earlier(Table[value]) && Table[Date] <earlier(Table[Date])),Table[Date])
Date diff = if(abs(datediff([last date],[Date],second)),<=2, "Yes","No")
Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@jwi1 , Nuevas columnas en la tabla

last date = maxx(filter(Table,Table[value] =earlier(Table[value]) && Table[Date] <earlier(Table[Date])),Table[Date])
Date diff = if(abs(datediff([last date],[Date],second)),<=2, "Yes","No")
Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Ashish_Mathur
Super User
Super User

Hola

Arrastre solo el valor al objeto visual de la tabla y escriba estas medidas

Máximo date_time: MAX(Datos[date_time])

Date_time mínimas: MIN(Datos[date_time])

Diferencias [date_time máx.]-[date_time mínimo]

Introducido en 2 segundos, IF([Diferencia<-TIEMPO(0,0,2),"Sí","No")

Espero que esto ayude.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors