Forum Discussion
Anonymous
8 years agoNot applicable
DAX CALENDAR syntax issue
I tried to create a dateTable using CALENDAR ( DATE ( 2017, 1, 1 ), DATE ( 2017, 12, 31 ) ) I kept getting the error message "The syntax for '.1' is incorrect.(DAX(CALENDAR(DATE(2005, 1, 1), DA...
v-qiuyu-msft
8 years agoCommunity Support
Hi Anonymous,
As your region set as English (South Africa), by default the list separator is " ; ".
In your scenario, if you don't change the list separator, you can specify the DAX to create a calendar table below:
Table = CALENDAR ( DATE ( 2017;1; 1 ); DATE ( 2017; 12; 31 ) )
Best Regards,
Qiuyun Yu
- Anonymous8 years agoNot applicable
Hi Qiuyun Yu,
Not sure if you got my previous reply but changing to ; did not work.
- v-qiuyu-msft8 years agoCommunity Support
Hi Anonymous,
Would you please check the List operator format in your region for OS?
Best Regards,
Qiuyun Yu- Anonymous7 years agoNot applicable
Hi Qiuyun Yu,
I have the same issue, the dax formula only works when I use the double comma's even when my List Separator is set to [ , ]. So it seems that this setting is not responsible for the syntax error.
List separator set to [ , ]