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.
Buenos días
Tengo una pregunta sobre lo siguiente y espero que pueda ayudarme.
Estoy buscando la siguiente medida:
Si PARTNUMBER_SUP tiene una MUT_COD 5 y este MUT_COD tiene una LAST_MUTATION_DATE < 30 días: el resultado debe ser Si
De lo contrario, el resultado debe ser NO
En la última columna de la siguiente tabla he mencionado SÍ / NO para su orientación.
¡Gracias!
John
Almacén | partnumber_sup | mut_cod | last_mutation_date | Acción | Resultado |
212 | 045002700 | 5 | 17-12-2019 | 2 | NO |
212 | 0633309 | 4 | 25-5-2020 | 6 | NO |
212 | 06DA403844 | 5 | 30-5-2020 | 1 | Sí |
212 | 06DA403844 | 4 | 6-9-2019 | 1 | Sí |
Solved! Go to Solution.
@jwi1 ,
outcome-if([mut_cod] ?5 && Datediff([last_mutation_date],today(),Day)<30,"Yes","No")
@jwi1 ,
outcome-if([mut_cod] ?5 && Datediff([last_mutation_date],today(),Day)<30,"Yes","No")
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.