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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
stribor45
Post Prodigy
Post Prodigy

DATE error

Can someone suggest as to what I am doing wrong when creating calculated column? I am adding this formula 

 

= DATE(2023,1,1)  

 

but I am receiving this error.

 

stribor45_0-1681747385850.png

 

 

1 ACCEPTED SOLUTION

The link you had is DAX expression syntax.

 

whay you are trying to do is in M Query, which the syntax is

https://learn.microsoft.com/en-us/powerquery-m/sharpdate

 

Hope this clarifies!

View solution in original post

3 REPLIES 3
latimeria
Solution Specialist
Solution Specialist

Hi @stribor45 ,

 

Missing # and lower cases

 

 

#date(2023,1,1)

 

 

that worked but I don't think that was mentioned Date . Why do you need  #?

The link you had is DAX expression syntax.

 

whay you are trying to do is in M Query, which the syntax is

https://learn.microsoft.com/en-us/powerquery-m/sharpdate

 

Hope this clarifies!

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.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.