SSAS Dimension Processing: Be Careful about Case Sensitivity

Posted by on Oct 26, 2012 in SSAS | No Comments
Facebooktwittergoogle_plusredditpinterestlinkedintumblrmailFacebooktwittergoogle_plusredditpinterestlinkedintumblrmail

Hi folks,

Yesterday I faced a situation in one of SSAS cubes, which dimension processing was failed because it found two different members with different attribute values, like Auckland and auckland !

I found out that reason of this problem is SSAS dimension will inherits its collation from underlying database and if you don’t change the setting it might use case sensitive collation. and if this find two different member with different case sensitivity in attribute key columns it will fail processing.

There are two ways for solving this issue:

1- use functions like UPPER , LOWER to change case sensitivity in queries used in DSV.

you might also like to capitalize your words or sentences, I’ve wrote another post and a SQL Server function for Capitalizing words and sentenses here, you can use it simply.

2- change collation of dimension to a case insensitive.

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="">