Rounding of calculated measure in MDX

Espo picture Espo · Jun 4, 2010 · Viewed 14.7k times · Source

How can i round a calculated mdx measure up to the nearest integer without having Excel on the server? The Excel-function is CEILING(number, significance), but it is not possible to install Excel on the production ssas-server.

Answer

Magnus Smith picture Magnus Smith · Jun 11, 2010

If this is a Microsoft situation, you can use any VBA functions in your MDX to fiddle with strings or numbers. So Round(xxxxxx, 2) would work.