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.
Querida comunidad,
Quiero comparar el valor real y del plan de un artículo y, en función de la comparación, elijo el valor más alto. El resultado del siguiente ejemplo debe ser 150.
Estimated Engineering Costs = SUMX(VALUES('PS ProjectResults'),
IF([ETC ENG Flag]="X",
[ACT Engineering Costs],
IF([ACT Engineering Costs]<[Plan Engineering Costs ],
[Plan Engineering Costs ],
[ACT Engineering Costs])))
Solved! Go to Solution.
Estimated Engineering Costs = SUMX(VALUES('PS ProjectResults'),
IF([ETC ENG Flag]="X",
[ACT Engineering Costs],//[Plan Engineering Costs ]))
IF([ACT Engineering Costs]<[Plan Engineering Costs ],
IF ( [ACT Engineering Costs] < [Plan Engineering Costs ], [Plan Engineering Costs ], [ACT Engineering Costs] ),
BLANK())))
cuando estoy combinando la lógica está funcionando. Seguro que no es la mejor sintaxis, pero está haciendo el trabajo. Muchas gracias
Le gustaría mostrar el valor de la medida [Planificar costos de ingeniería] o el valor de la medida [Costos de ingeniería de ACT], dependiendo de cuál de ellos sea más alto, ¿correcto?
¿Ha intentado usar la declaración if de su medida [Costos estimados de ingeniería]?
Estimated Engineering Costs = IF ( [ACT Engineering Costs] < [Plan Engineering Costs ], [Plan Engineering Costs ], [ACT Engineering Costs] )
Hágame saber si esto ayuda 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
que da el resultado correcto. Sin embargo, el otro escenario aún no está cubierto, pero supongo que / espero que sepa cómo agregar esto:
¿Cuál es el otro escenario? 🙂
Creo que tiene que ver con la [BANDERA ETC ENG]... Le doy una oportunidad al azar. ¿Es esto?
IF ( [ETC ENG Flag] = "X", [ACT Engineering Costs], IF ( [ACT Engineering Costs] < [Plan Engineering Costs ], [Plan Engineering Costs ], [ACT Engineering Costs] ), BLANK() )
De lo contrario, especifique su requisito 🙂
¡Gracias!
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Estimated Engineering Costs = SUMX(VALUES('PS ProjectResults'),
IF([ETC ENG Flag]="X",
[ACT Engineering Costs],//[Plan Engineering Costs ]))
IF([ACT Engineering Costs]<[Plan Engineering Costs ],
IF ( [ACT Engineering Costs] < [Plan Engineering Costs ], [Plan Engineering Costs ], [ACT Engineering Costs] ),
BLANK())))
cuando estoy combinando la lógica está funcionando. Seguro que no es la mejor sintaxis, pero está haciendo el trabajo. Muchas gracias
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.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |