Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DrDiHai
New Member

PowerBI/DAX uses Comma to separate arguments as well as a decimal point

Probably as a result of a combination of unfortunate regional settings, DAX in powerBI has decided that a comma should separate both decimal numbers and function arguments. (At least, that's what I think the reason is)

 

For example, the following expression returns 2,10 (and no error!):

 

IF(TRUE(),2,1)

Adding e.g. a space before the 1 just creates an actual error.

Any idea what settings I need to adjust...?

1 ACCEPTED SOLUTION
DrDiHai
New Member

Well, "solved" it pretty fast.

 

I had my "Regional Format" in Windows' "Region Settings" set to "English (Switzerland)". Switching to "German (Switzerland)" solved the problem (as now arguments are separated by semicolons).

 

Still, I'd say that's a pretty unfortunate combination to have anywhere Smiley Tongue.

View solution in original post

1 REPLY 1
DrDiHai
New Member

Well, "solved" it pretty fast.

 

I had my "Regional Format" in Windows' "Region Settings" set to "English (Switzerland)". Switching to "German (Switzerland)" solved the problem (as now arguments are separated by semicolons).

 

Still, I'd say that's a pretty unfortunate combination to have anywhere Smiley Tongue.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.