THE SQL Server Blog Spot on the Web

Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | |
in Search

SQLBI - Marco Russo

SQLBI is a blog dedicated to building Business Intelligence solutions with SQL Server.
You can follow me on Twitter: @marcorus

Multiple DISTINCT COUNT measures in SSAS 2005

Analysis Services has a limitation of one distinct count measure for each measure group; in the past, it was a limitation for the single cube. Each distinct count measure cause an ORDER BY clause in the SELECT sent to the relational data source during processing. I'd like a different approach, but probably this is already a good compromise between all the needs.

Now in SSAS2005 it seems to be a little inconsistency in the user interface of BI Studio. If you try to create a measure group manaully, editor don't allow you to create more than one measure group from the same fact table. If you use the "New Measure..." context menu (and related wizard) it creates a new measure group for each distinct count measure.

What I'd like to know is if the presence of a distinct count measure in the same measure group containing several other measures cause a performance loss for all the measures similarly to AS2000: in that version I create each distinct count measure in a separate cube, joining all the measures in a single virtual cube; in that way I had no performance loss (caused by potentially less aggregations) when queries contain only "standard" measures. The "New Measure" dialog box creates a new measure group for each distinct count measure. It seems that not very much has changed from the previous version.

Published Wednesday, June 29, 2005 12:47 AM by Marco Russo (SQLBI)

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

bp said:

thanks! your post helped me out. Now we have multiple distinct counts.

Cheers

June 28, 2009 10:20 PM
 

Tobar said:

Post helped me too, also have multi DCs. Sorry I can not answer your question

March 26, 2010 9:16 AM
 

Andre said:

Thanks for you post. It helped me create additional DC members with a sum what 'inconsistent' 2k5 BI Studio.

September 27, 2010 8:08 AM

Leave a Comment

(required) 
(required) 
Submit

About Marco Russo (SQLBI)

Marco Russo is a consultant, writer and trainer specialized in Business Intelligence with Microsoft technologies. He runs the SQLBI.COM website, which is dedicated to distribute resources useful for BI developers, like Integration Services components, Analysis Services models, tools, technical information and so on. Marco is certified as MCT, MCDBA, MCSD.NET, MCSA, MCSE+I.

This Blog

Syndication

Archives

Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement