Forum Discussion
Code is correct -- Stil Dax give the error message "The syntax for '.' is incorrect."
Dax dont have any red line shoiwig but give message that "The syntax for '.' is incorrect." and past full Dax code.
I have share work file where this bix code write please help me to find that error.
https://1drv.ms/w/s!AswA2ZDrJCDcyFWFYE7gI_ovutD2?e=IYg10L
mohittimpus , Avoid using a variable like spendMovers.com_Today_LM
. in variable name
2 Replies
- kentyler
Solution Sage
The way to find this error is to reduce your measure to the code that develops the first VAR... run that (you will have to add a RETURN statement that returns the VAR) and see if you get the error. If you do, the error is in that small segment of code.
Then add the code that develops the second VAR (and change the RETURN). See if the error is in the second VAR block... keep doing that all the way to the end, and sooner or later you will find the block that has the error..... it should then be a lot easier to see what is wrong. - amitchandak
Super User
mohittimpus , Avoid using a variable like spendMovers.com_Today_LM
. in variable name