Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hola, chicos
Necesito su ayuda, por favor.
Quiero medir la cantidad total del último año (YTY-1).
Pero tengo una restiicción: estoy usando una medida del YTD. Si filtro el mes, también obtengo el YTY-1 con valores filtrados. Pero debe medir el valor total del último año
Saludos cordiales desde Alemania 🙂
Mi medida actual:
¡Hola!
¿Tiene una tabla Date (Establecer y usar tablas de fechas en Power BI Desktop - Power BI | Microsoft Learn)?
Si es así, PREVIOUSYEAR() debería funcionar, en forma de:
AA_Betrag_YTY-1 :=
CALCULATE(
[korrigierter Betrag], //assuming this is the measure you want to calculate
PREVIOUSYEAR(Dates[Date]) //date column from your date table
)
Hi Tomas
Sí, funciona bien. Ahora también conozco una función más. ¡Gracias por eso!