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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
unclejemima
Post Patron
Post Patron

Simple Dax expression not working...

I'm trying to use the Dax expression to create a date table.  I found a simple blog on this and gave it a try.  I'm not able to make it work and I think I'm missing something obvious.

 

In Power BI desktop I go to the "Modeling" tab, then "New Table", then paste this in formula field...

 

Date =CALENDAR (DATE(2000;1;1); DATE(2025;12;31))

Theoretically its supposed to work but I get the error "The syntax for ';' is incorrect. (DAX(CALENDAR (DATE(2000;1;1); DATE(2025;12;31))))."

 

What am I doing wrong?

1 ACCEPTED SOLUTION

Try replacing the semicolons with a comma.

View solution in original post

2 REPLIES 2
CahabaData
Memorable Member
Memorable Member

for sure don't paste in the formula

 

build it from the keyboard - along the way the intellisense will help guide and give insight as to a syntax issue....

www.CahabaData.com

Try replacing the semicolons with a comma.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors