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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Syndicate_Admin
Administrator
Administrator

Para los datos de streaming, busque el recuento de filas de los últimos 5 minutos frente a los 5 minutos anteriores

Hola Equipo,

Estoy trabajando en el informe de Power Bi para datos de streaming, necesito ayuda para encontrar el recuento de filas de los últimos 5 minutos frente a los 5 minutos anteriores

gracias

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@saham123 , Puedes probar medidas como estas

last 5 =countrows(filter(Table, Table[Datetime] > now() - time(0,5,0) && Table[Datetime] <=now()))

last 5 before 5 countrows(filter(Table, Table[Datetime] > now() - time(0,10,0) && Table[Datetime] <=now()-5))

en caso de que haya filtro en la fecha y hora, use all(Table[datetime]) en lugar de Table en filter

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Hay @saham123,

¿Podría decirme, por favor, si su problema ha sido resuelto por @amitchandak 's post? Si es así, por favor acéptelo como la solución para cerrar el hilo. Más personas se beneficiarán de ella.

Si no es así, por favor, proporcióneme más detalles sobre su tabla y su salida esperada o compártame con su archivo pbix después de eliminar datos confidenciales.

Saludos
Eyelyn Qin

Syndicate_Admin
Administrator
Administrator

@saham123 , Puedes probar medidas como estas

last 5 =countrows(filter(Table, Table[Datetime] > now() - time(0,5,0) && Table[Datetime] <=now()))

last 5 before 5 countrows(filter(Table, Table[Datetime] > now() - time(0,10,0) && Table[Datetime] <=now()-5))

en caso de que haya filtro en la fecha y hora, use all(Table[datetime]) en lugar de Table en filter

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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