![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
SSAS 2005 SP1 The server's regional settings are US-English Designing the cube in Visual Studio on the server itself, I specify FORMAT_STRING = "#,#" for my calculated measures (in the Calculations tab), expecting to get 12.234 However, in the Browser tab, the values for those measures show up as 12,234 instead. As if I had some European regional settings. The funny thing is that the non-calculated measures do display the proper US format. In the Cube Structure tab, under Properties, I set the FormatString property to #,# as well. Non-calculated measures are displayed as 12.234. What gives ? How come the same format string results in different formatting for calculated and non-calculated measures ? |
#4
| |||
| |||
|
|
Hey Pat Your results seem reasonable to me. If you set FORMAT_STRING = "#,#" for a calculated measure you will see it that way, regardless of your reginal language settings (the first overrides the last). On the other hand, regular measures format is indeed set by reginal language settings. To force reginal language settings on a calculated measure's format set its FORMAT_STRING value to be the same as the one you have in the Numbers section in reginal language settings. Rea "Pat" wrote: SSAS 2005 SP1 The server's regional settings are US-English Designing the cube in Visual Studio on the server itself, I specify FORMAT_STRING = "#,#" for my calculated measures (in the Calculations tab), expecting to get 12.234 However, in the Browser tab, the values for those measures show up as 12,234 instead. As if I had some European regional settings. The funny thing is that the non-calculated measures do display the proper US format. In the Cube Structure tab, under Properties, I set the FormatString property to #,# as well. Non-calculated measures are displayed as 12.234. What gives ? How come the same format string results in different formatting for calculated and non-calculated measures ? |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Dear Pat, we have the same problem, regional settings are used with non calculated measures. Calculated measure behave "on their own". Looking forward to find a solution. |
#7
| |||
| |||
|
|
In the meantime I have found out that calc measures use the locale of the user that the SSAS service is logged on as. To fix the problem, create an account with the locale you need, and have the SSAS service run under this account. Of course that will only work if all of your users require the same locale settings. I hope this helps. |
![]() |
| Thread Tools | |
| Display Modes | |
| |