Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hola comunidad,
estoy tratando de crear una medida que me haga la suma de los ultimos doce meses pero al crearla me trae adicional unos meses que no estoy seleccionando dejando mi tabla algo rara
esta es la formula que estoy realizando
Solved! Go to Solution.
HI @WilliamForero,
You can try to use the following measure formula to get the rolling 12 month records based on current date:
formula =
VAR currDate =
MAX ( Dimcalendario[Periodo] )
RETURN
CALCULATE (
SUM ( 'Seguimiento Presupuestal'[Total Portafolio] ),
FILTER (
ALLSELECTED ( 'Seguimiento Presupuestal' ),
[Periodo]
>= DATE ( YEAR ( currDate ) - 1, MONTH ( currDate ), DAY ( currd ) )
)
)
Regards,
Xiaoxin Sheng
HI @WilliamForero,
You can try to use the following measure formula to get the rolling 12 month records based on current date:
formula =
VAR currDate =
MAX ( Dimcalendario[Periodo] )
RETURN
CALCULATE (
SUM ( 'Seguimiento Presupuestal'[Total Portafolio] ),
FILTER (
ALLSELECTED ( 'Seguimiento Presupuestal' ),
[Periodo]
>= DATE ( YEAR ( currDate ) - 1, MONTH ( currDate ), DAY ( currd ) )
)
)
Regards,
Xiaoxin Sheng
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
12 | |
9 | |
9 | |
9 |
User | Count |
---|---|
19 | |
14 | |
14 | |
13 | |
12 |