Formatting MDX Scope Calculations

The other day I faced an issue with a client application not being able to display the results of an MDX Expression in scientific notation. It turns out that the offending cells were evaluated as part of a scope statement and the measure formatting was not being respected. To solve this issue I added the Format_String property on ‘this’ as follows

Scope (Measure);

this = x*y;

Format_String(this) = “#.00”

End Scope;

Scientific notation gone, client application happy


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s