Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Tengo que crear el datediff entre el 'proyecto desde la fecha' y 'hoy' en días.
Sin embargo, no puedo especificar la columna del parámetro de fecha 1ª.
¿Hay alguna manera de calcular la diferencia entre 2 fechas?
¿Se ha resuelto su problema? Si se resuelve, por favor considere Acéptalo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Hay dos soluciones:
1.Por favor, cree una nueva columna:
Column = DATEDIFF('Table'[project from date],TODAY(),DAY)
2.Por favor, cree una nueva medida:
gap = DATEDIFF(MAX('Table'[project from date]),TODAY(),DAY)
Saludos
Yadong Fang
Si esta publicación ayuda, considere Aceptarla como la solución para ayudar a los otros miembros a encontrarla más rápidamente.
Lo intenté, pero no puedo agregar el primer parámetro de fecha, es decir, la columna 'Project From Date'.
Hola @chaitanyajiwani
Por favor, pruebe
DATEDIFF ( SELECTEDVALUE ( TableName[Proj Start Date Column] ), Hoy ( ), DAY )
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.