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
HenryJS
Post Prodigy
Post Prodigy

Añadir fecha de medida no está en el futuro

Hola a todos

¿Cómo puedo crear una medida que indique:

  • Si CandidateRef NO TIENE un PlacementStartDate en el futuro ENTONCES SÍ

Screen Grab.JPG

6 REPLIES 6
v-yiruan-msft
Community Support
Community Support

Hola @HenryJS ,

¿Si su problema ha sido resuelto? En caso afirmativo, ¿podría marcar el puesto útil como Respondido? Ayudará a cualquier persona en la comunidad encontrar la solución fácilmente cuando se enfrentan al mismo problema con usted. Gracias.

Sin embargo, si todavía tiene algo más necesita ayuda sobre este hilo, proporcione más detalles, continuaremos haciendo un seguimiento.

Saludos

Rena

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

Hola @HenryJS

Tratar

Measure = 
var _isDateInFuture = CALCULATE( COUNTROWS('Table'), ALLEXCEPT('Table', 'Table'[CandidateRef]), 'Table'[PlacementStartDate] > TODAY())
RETURN
IF(_isDateInFuture < 1, "Yes", "No")

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Hola @az38

No parece haber funcionado. Los dos Candidatos principales tienen un PlacementStartDate en el futuro.

Debe ser si el CandidateRef tiene una fila en la que PlacementStartDate . ExtensionStartDate está en el futuro ENTONCES Sí para todas las filas con ese CandidateRef

Esperanza que tiene sentido

Screen Grab2.JPG

Hola @HenryJS ,

¿Cuál es tu resultado esperado real? ¿Qué situación mostrará el campo Finisher "Sí"? Situación 1 o situación 2?

1. Cuando no hay PlacementStartDate en el futuro para ese CandidateRef?

2. ¿Cuándo PlacementStartDate o PlacementEndDate tienen fechas en el futuro?

Por ejemplo, el campo Finisher mostrará sí o no para CandidateRef 69785 ,105468 y 24768?

Saludos

Rena

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

@HenryJS

usted preguntó


@HenryJS escribió:

Si CandidateRef NO TIENE un PlacementStartDate en el futuro ENTONCES SÍ


Por lo tanto, si quieres SI cuando CandidateRef tiene un intento futuro

Measure = 
var _isDateInFuture = CALCULATE( COUNTROWS('Table'), ALLEXCEPT('Table', 'Table'[CandidateRef]), 'Table'[PlacementStartDate] > TODAY())
RETURN
IF(_isDateInFuture > 0, "Yes", "No")

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Hola @az38

Los dos mejores shoud se muestran como ¿Sí?

Tienen un PlacementStartDate en el futuro.

¿También es posible agregar PlacementStartDate ? ExtensionStartDate en el futuro ENTONCES SÍ

Screen Grab2.JPG

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.