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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
dkay84_PowerBI
Microsoft Employee
Microsoft Employee

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
dkay84_PowerBI
Microsoft Employee
Microsoft Employee

Try replacing the semicolons with a comma.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.