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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
kirpalas
Frequent Visitor

Calendar function shows weird dates outside of the date ranges given

I am trying to use the calendar function for dates in 2022

result is 25-6-1894 to 6-7-1894 dates

weird..anyone has a solution..why this is happening

 

SEL = CALENDAR (01-01-2014, 31-12-2022)
 

 

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

That's not a valid way of specifying a date. Try

SEL = CALENDAR( DATE(2014, 1, 1), DATE(2022, 12,31))

View solution in original post

2 REPLIES 2
johnt75
Super User
Super User

That's not a valid way of specifying a date. Try

SEL = CALENDAR( DATE(2014, 1, 1), DATE(2022, 12,31))

Thanks for the reply and solution..it works.. the manual showed start date, enddate

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.