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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.