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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Kudoed Authors