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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
Syndicate_Admin
Administrator
Administrator

Último QTR

Hola a todos

Tengo una tabla de datos que abarca 2 años.

Estoy tratando de recopilar el total del último trimestre en una medida y el trimestre del año anterior en otra medida.

M_CurrentQTR =

CALCULAR([M_NEWQTYTOTAL],FECHAAÑADIR(Fechas[Fecha],0,TRIMESTRE))
Así que esto sería el Q1 de 2025
M_PreviousYrQTR =
CALCULAR([M_NEWQTYTOTAL],FECHAAÑADIR(Fechas[Fecha],-1,TRIMESTRE))
Esto sería el Q1 de 2024
El problema que tengo es que M_CurrentQTR me está dando tanto el Q1 2025 como el Q1 2024 en total.
¿Cómo hago para que esto funcione con un filtro de cuarto y un filtro de año? Luego lo mismo del año anterior.
Muchas gracias
0 REPLIES 0

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors