Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi All,
I have source file dates starting from 31/01/2021 to till yesterday ( November 7th 2023) as i have created calendar table based source first date and lastdate.
But while using into calendar date as in slicer it's appearing till December 2023.
Solved! Go to Solution.
try this
Calendar =
VAR BaseCalendar =
CALENDAR (MIN('For Loading'[DAY]) , MAX('For Loading'[DAY]))
RETURN
GENERATE (
BaseCalendar,
VAR BaseDate = [Date]
VAR YearDate = YEAR ( BaseDate )
VAR MonthNumber = MONTH ( BaseDate )
VAR YearMonthNumber = YearDate * 12 + MonthNumber - 1
RETURN ROW (
"Year", YearDate,
"Month Number", MonthNumber,
"Month", FORMAT ( BaseDate, "mmmm"),
"Year Month Number", YearMonthNumber,
"Year Month", FORMAT ( BaseDate, "mmm yy")
)
)
if it doesn’t work, check your data, it’s all there December
you disable this option
@MSuser5 ,
can you try min and max instead of startdate and lastdate.
can you also make sure from the data view that there's no record for december.
Proud to be a Super User! | |
I'm sure there is no data for december and i have tried for MIN , MAX condition but no luck.
FYI,
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.