PierreBenko
New Member
- Joined
- Jul 12, 2012
- Messages
- 9
Hi!
I am using Excel in Germany, with German locale settings.
I have met with a very odd behaviour from Excel:
When I write the formula for calculated columns I use ";" as separator (as for any other Excel formula) between the arguments. The Formulae are working fine, everything is tip-top.
But when I am creating measures in PowerPivot, I have to use "," as separator. Most of the time.
The problem is, that the DAX Formula checker throws an error for some formulae (not for all), when I use "," as separator. If I change the separator to ";" , it passes the check from the formula checker, but then the MdxScript throws an error saying: "We couldn't get data from the Data Model. Here's the error message we got: MdxScript(Model) (6, 68) The syntax for ';' is incorrect."
This means, that I can use CALCULATE with FILTER if I use "," as separator, but e.g. MIN or IF throws an error in both cases, no matter which separator I use.
Has anyone had this problem before? Is there any workaround?
Thank you very much for any help in advance!
Here are a few screenshots:
MIN with semicolon, everything is fine
After clicking on "OK":
The same formula with comma:
I am using Excel in Germany, with German locale settings.
I have met with a very odd behaviour from Excel:
When I write the formula for calculated columns I use ";" as separator (as for any other Excel formula) between the arguments. The Formulae are working fine, everything is tip-top.
But when I am creating measures in PowerPivot, I have to use "," as separator. Most of the time.
The problem is, that the DAX Formula checker throws an error for some formulae (not for all), when I use "," as separator. If I change the separator to ";" , it passes the check from the formula checker, but then the MdxScript throws an error saying: "We couldn't get data from the Data Model. Here's the error message we got: MdxScript(Model) (6, 68) The syntax for ';' is incorrect."
This means, that I can use CALCULATE with FILTER if I use "," as separator, but e.g. MIN or IF throws an error in both cases, no matter which separator I use.
Has anyone had this problem before? Is there any workaround?
Thank you very much for any help in advance!
Here are a few screenshots:
MIN with semicolon, everything is fine
After clicking on "OK":
The same formula with comma: