views:

101

answers:

2

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.

+1  A: 

Here's a link to an article that describes how to do this: Custom Rounding and Truncation of Numbers in MDX

TskTsk
A: 

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.

Magnus Smith
How do I use VBA functions in my MDX without Excel on the MSAS server?
Espo
You don't need Excel. If you are using Analysis Services, you just enter the VBA keywords into the MDX. No setup is required.
Magnus Smith