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...
Greg_Deckler
9 years agoCommunity Champion
I thought of that too, but it worked perfectly for me. The only thing I didn't replicate exactly was the table name, mine was called "Table4". Unless it is a difference between the language versions. What gets me is that red x, timestamp and weird "Query(1, 32)", I don't typically see that, can you post a larger screen shot that shows the context? Generally, when I mess up a DAX equation, I see something like:
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...