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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vijay22kar
Helper II
Helper II

Obtenga la primera fecha y la última fecha de la tabla de fechas en el proyecto

Hola a todos

Lo siento, por las molestias que estoy haciendo la pregunta muy básica.

Quiero Primera fecha y última fecha de las dos columnas diferentes

Estoy tratando de medidas por debajo, pero no es trabajo

primera fecha: FIRSTDATE(líneas base del proyecto'[ProjectBaselineStartDate])
Y
FirstDate1 - CALCULATE(FIRSTDATE('ProjectBaselines'[ProjectBaselineStartDate]), ALLSELECTED(AssignmentBaselines[AssignmentBaselineStartDate]))
Dataset
Nombre del proyectoProjectBaselineStartDateProjectBaselineEndDateProjectStartDateProjectendDate
Hrms2019-07-222019-11-162020-08-012020-05-25
Hrms2019-07-222019-09-172020-08-012020-05-15
Resultado esperado (nombre único del proyecto)
Hrms2019-07-222019-09-172020-08-01

2020-05-25

Gracias.

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hola @vijay22kar

Cree cuatro medidas como se muestra a continuación:

first date for ProjectBaselineStartDate = CALCULATE(FIRSTDATE(ProjectBaselines[ProjectBaselineStartDate]))

first for ProjectBaselineEndDate = CALCULATE(FIRSTDATE(ProjectBaselines[ProjectBaselineEndDate]))

Last date for ProjectendDate = CALCULATE(LASTDATE(ProjectBaselines[ProjectendDate]))

Last date for ProjectStartDate = CALCULATE(LASTDATE(ProjectBaselines[ProjectStartDate]))

A continuación, arrastre el campo Nombre del proyecto y estos cuatro medir en un objeto visual de tabla

3.JPG

saludos

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
camargos88
Community Champion
Community Champion

Hola @vijay22kar ,

Puede cambiar el modo de agregación a la primera o la última en las columnas de fecha.

¿Respondí a tu pregunta? ¡Marca mi puesto como solución!
Ricardo



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.