Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
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 April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.