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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

DAX syntax

Hi I need a help regarding how to fix the error message received when i was trying to use calender syntax

The syntax for '.1' is incorrect. (DAX(CALENDAR(DATE(2005.1.1),DATE(2015.12.31)))). This is the syntax which i used

d = CALENDAR (DATE(2005,1,1),DATE(2015,12,31))
1 REPLY 1
Anonymous
Not applicable

You should use commas to seperate the year month and date:

(DAX(CALENDAR(DATE(2005,1,1),DATE(2015,12,31))))

The error "The syntax for '.1' is incorrect." is refering to the first dot in your code.

Hope this helps

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.