Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hola, chicos
Necesito ayuda con lo siguiente:
Para cada PackageCode necesito encontrar Delta Time (StateChangeTs) entre Destination - DynamicTester_9_1_2_ModuleLocation y Destination -DynamicTester_9_1_2_OutputBuffer.
Este código me da un error:
También cómo puedo incluir una condición que específicamente para el mismo PackageCode la fórmula debe hacer DateDiff, por lo que en caso de que las mismas dos filas PackageCode no están en la secuencia, puede hacer el cálculo correcto
@nazrinka , como este
Tiempo de ciclo: DATEDIFF(MAXX(FILTER('Dynamic Tester 9_1_1', [Destination]- EARLIER([Destination]) && [StateChangeTs] <EARLIER([StateChangeTs])),[StateChangeTs]), 'Dynamic Tester 9_1_1'[StateChangeTs],segundo)
Gracias por la respuesta. No estoy seguro de que realmente funcione. Porque El Delta T lo hace para el mismo código de paquete se ve correcto. Me gustaría específicamente poner condición que para Time(1) el destino es DynamicTester_9_1_2_ModuleLocation y para Time(2) es DynamicTester_9_1_2_OutputBuffer
@nazrinka - Probablemente más fácil si lo desglosas:
Cycle Time =
VAR __Table = FILTER('Dynamic Tester 9_1_1', [Destination]= "DynamicTest_9_1_2_ModuleLocation" && [StateChangeTs] < EARLIER([StateChangeTs]))
VAR __Time1 = MAXX(__Table,[StateChangeTs])
VAR __Time2 = 'Dynamic Tester 9_1_1'[StateChangeTs]
RETURN
IF([Destination] = "DynamicTester_9_1_2_OutputBuffer",DATEDIFF(__Time1,__Time2,second),BLANK())
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.