Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Syndicate_Admin
Administrator
Administrator

suma completada el año pasado (año a año -1)

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:

NMVA06_0-1670940624790.pngcurrent_measure.PNG

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

¡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!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors