Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hola buenos días, estoy intentando hacer una columna en la que utilizando una fecha seleccionada de otra tabla desde el panel vista de informe pueda hacer un datediff.
Ahora mismo tengo esto:
Solved! Go to Solution.
Hola @Syndicate_Admin ,
Aquí algunos pasos que quiero compartir, puedes consultarlos si se ajustan a tu requerimiento.
Aquí están mis datos de prueba:
Total de entradas
Hora
Crear medida
Datediff =
IF(
SELECTEDVALUE('Total Tickets'[Request Status]) IN {"Open", "Ongoing", "On hold", "Standby Provider", "On Standby User", "Postponed", "Resolved"},
IF(
SELECTEDVALUE('Total Tickets'[End Date]) IN {BLANK()},
DATEDIFF(
SELECTEDVALUE('Total Tickets'[Date created]),
SELECTEDVALUE('Time'[Another date]),
HOUR
),
BLANK()
)
)
Resultado final
Saludos
Alberto He
Si esta publicación ayuda, considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente
Hola @Syndicate_Admin ,
Aquí algunos pasos que quiero compartir, puedes consultarlos si se ajustan a tu requerimiento.
Aquí están mis datos de prueba:
Total de entradas
Hora
Crear medida
Datediff =
IF(
SELECTEDVALUE('Total Tickets'[Request Status]) IN {"Open", "Ongoing", "On hold", "Standby Provider", "On Standby User", "Postponed", "Resolved"},
IF(
SELECTEDVALUE('Total Tickets'[End Date]) IN {BLANK()},
DATEDIFF(
SELECTEDVALUE('Total Tickets'[Date created]),
SELECTEDVALUE('Time'[Another date]),
HOUR
),
BLANK()
)
)
Resultado final
Saludos
Alberto He
Si esta publicación ayuda, considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente
Perfecto funciona correctamente gracias!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.