Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hola
No encontré solución, espero que alguien me 🙂 ayude
Necesidad de crear una tabla dinámica con un calendario que cubrirá un período de 2 años, un año atrás y un año en el futuro. El calendario debe abarcar meses completos.
Por ejemplo, para cada día de diciembre de 2022 debería verse como a continuación.
¿Es posible agregar un calendario así en Power Query?
¡¡Muchas gracias!! ¡¡Esto es!!
Pruebe esta tabla calculada:
Calendar =
VAR __START =
EDATE ( EOMONTH ( TODAY (), -1 ) + 1, -13 )
VAR __END =
EOMONTH ( EDATE ( __START, 23 ), 0 )
RETURN
ADDCOLUMNS (
CALENDAR ( __START, __END ),
"Year", YEAR ( [Date] ),
"Month Name", FORMAT ( [Date], "mmm" ),
"Month Number", MONTH ( [Date] ),
"YYYYMM", FORMAT ( [Date], "yyyymm" ),
"Month and Year", FORMAT ( [Date], "mmm-yy" )
)
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.