Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hice una medida para calcular la eficiencia. Funciona bien, pero tan pronto como se añaden trimestres futuros a la sección de filtro del informe, la medida muestra 100 eficiencia (1) . ¿Hay alguna manera de evitar que se active la lógica en datos futuros que sea realmente inexistente?
A medida que empiezo la medida con 1-, el resultado es 1 si no se devuelve ningún dato.
cualquier idea sería muy apreciada! ps: De hecho, robé la fórmula de una hoja de Excel 🙂
testmeasure 1-(DIVIDE(
(SUMA
(tabla[xdays])
),
(SUMA
(tabla[Día de duración])
-SUM(TABLE[OtherDay])
)
)
)
@KristofDM, algo así
testmeasure CALCULATE(1-(DIVIDE(
(SUMA
(tabla[xdays])
),
(SUMA
(tabla[Día de duración])
-SUM(TABLE[OtherDay])
)
)
), date[date] <today())
Pruebe algo en la línea de:
testmeasure=
VAR __measure =
1-(DIVIDE(
(SUM
(table[xdays])
),
(SUM
(table[Durationday])
-SUM(TABLE[OtherDay])
)
)
)
RETURN
IF(<some condition that identifies future>,BLANK(),__measure)
gracias a todos por sus sugestions, el VAR __measure era de hecho lo que me faltaba!
gracias @Greg_Deckler
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!