Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
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
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
33 | |
15 | |
14 | |
13 | |
9 |
User | Count |
---|---|
60 | |
23 | |
22 | |
19 | |
13 |