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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Syndicate_Admin
Administrator
Administrator

¡Necesito ayuda! Estoy tratando de calcular la diferencia entre el tiempo

Estoy atando para calcular la diferencia entre el tiempo. Tengo un coulmn con fecha/hora y un cloumn con tiempo. esto es lo que tengo hasta ahora, pero no está funcionando. Recibí un error que dice que necesito convertir usando Valores.

Basado en DATEDIFF =
DÓNDE _MINTimestamp =
BRIBONA (
FILTRO (
TODO ( 'Maestro' ),
'Maestro'[Actual] = ..MAX ( 'Maestro'[Actual] )
&& 'Maestro'[Fecha]= ..MAX ( 'Maestro'[Fecha] )
),
'Maestro'[Hora]
)
DÓNDE _MAXTimestamp =
MAXX (
FILTRO (
TODO ( 'Maestro' ),
'Maestro'[Actual]= ..MAX ( 'Maestro'[Actual] )
&& 'Maestro'[Fecha]= ..MAX ( 'Maestro'[Fecha])
),
'Maestro'[Hora].[Fecha]
)
DEVOLUCIÓN
DATEDIFF ( _MINTimestamp, _MAXTimestamp, MINUTO )
1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@Sonyat810

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/td-p/144...

Sírvase proporcionar datos de muestra. Es muy difícil visualizar datos con solo mirar el código.

saludos

Phil

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Solution Authors
Top Kudoed Authors