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 August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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