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
garynorcrossmmc
Advocate IV
Advocate IV

Create Calendar Table with One Dummy Date Out of Range

Hi all,

 

I'm looking to create a table via DAX that has a range of 1/1/1900 - 12/31/2099, plus one additional date of 12/31/9999.  Is this possible?  

1 ACCEPTED SOLUTION
timg
Solution Sage
Solution Sage

Hi,

 

This should do the trick:

 

DateTable = 
UNION(
    CALENDAR("01-01-1900", "12-31-2099")
    , ROW(
        "Date","31-12-9999"
    )
)

 

 

date.PNG

Hope that helps!

 

Regards,

 

Tim





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
timg
Solution Sage
Solution Sage

Hi,

 

This should do the trick:

 

DateTable = 
UNION(
    CALENDAR("01-01-1900", "12-31-2099")
    , ROW(
        "Date","31-12-9999"
    )
)

 

 

date.PNG

Hope that helps!

 

Regards,

 

Tim





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




This worked, thanks @timg!

amitchandak
Super User
Super User

@garynorcrossmmc , you can do that, but then it will create a problem to mark it ar date table

 

union(calendar(date(1900,01,01), date(2099,12,31)), date(9999,12,31))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.

Top Solution Authors
Top Kudoed Authors