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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.