Format String Issue of SSAS Measures in Excel Front-End

Posted by on Dec 10, 2013 in SSAS | No Comments
Facebooktwittergoogle_plusredditpinterestlinkedintumblrmailFacebooktwittergoogle_plusredditpinterestlinkedintumblrmail

Most of you faced such situation that you’ve set the FormatString property of your measures in the cube from BIDS or SSDT, But when you browser the cube in Excel you will not see that format.

Let’s say you applied format string to add thousands separator, two decimal points, and dollar sign to your Amount measure. But in Excel you just see the number without any formatting.

Solution is easy, you would require to change Connection Properties in Excel.

Assume that you’ve changed FormatString property of your measure in the Properties window in SSDT or BIDS

With the default Excel configuration you might get format string like this:

But this is not what you configured, and what you expected is something formatted with thousand separator, decimal points, and dollar sign.

Solution:

So in Excel go to Data tab, then Open existing connection, go to Properties, and check the  OLAP Server Formatting section. if you want to fetch formatting from OLAP cube check appropriate checkbox here.

Now you will see result formatted as you configured:

Facebooktwittergoogle_plusredditpinterestlinkedintumblrmailFacebooktwittergoogle_plusredditpinterestlinkedintumblrmail
rssyoutuberssyoutube
Reza Rad
Reza Rad is an Author, Trainer, Speaker and DW/BI Consultant. He has a BSc in Computer engineering; he has more than 15 years’ experience in databases, programming and development mostly on Microsoft technologies. He is a Microsoft MVP in Data Platform for seven continues years (from 2011 till now) for his dedication in Microsoft BI. He is author of some SQL Server and BI books, and also Power BI online book; from Rookie to Rock Star.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">