How can I get the format string for a currency value in analysis services?
When I run an MDX query to retrieve a measure with a type of Currency
, the value is returned in the expected format e.g. €1.000,00. This is correct as my Cube's locale is set up to be Ireland.
Is there anyway for me to retrieve the currency format string?
So, for my Cube with it's locale set to Ireland, the currency format string would be something like "€#.###,##"
Is there a way that I can retrieve this information from Analysis Services?
I can run the following DMX query to get information about the measures and their formats, but this only shows the format as Currency
for my currency measures:
select
MEASURE_UNIQUE_NAME,
MEASURE_NAME,
DEFAULT_FORMAT_STRING
from
$system.MDSCHEMA_MEASURES
Any ideas?