Forum Discussion
Anonymous
9 years agoNot applicable
DAX syntax error (Beginner)
Hello, the following DAX code renders a syntax error; Cond1=IF('Total Sales Norden Details'[Förs. YTD]>'Total Sales Norden Details'[Tot. Förs. föreg. år],1,0) The syntax error is: Any...
Anonymous
9 years agoNot applicable
My mistake, I try to create the DAX in DAX studio and when I try to run it, that is when I get that error message.
And if I put in the same code in BI Desktop to create a measure, I get this error message;
Sorry for the confusion...
v-haibl-msft
9 years agoMicrosoft Employee
Anonymous
If you want to create a calculated column in Power BI Desktop.
Please try to replace ; with ,
Or replace , with ;
They should be consistent.
Best Regards,
Herbert