dbTalk Databases Forums  

strange results with distinct count

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss strange results with distinct count in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jean via SQLMonster.com
 
Posts: n/a

Default strange results with distinct count - 02-27-2005 , 08:33 AM






Hello,

This question is from the Yukon Adventure Works cube, but I have posted it
on this site as I suspect my problem is with basic understanding of
distinct count rather than anything specific with yukon.

View the measure customer count using Calendar year hierarchy on rows and
Product Category on Filter.
Select H1 CY 2004 under CY 2004
Select Product category Bikes
Can see results

Also select Product Category Clothings
Can see results

Add Category Components and we get null rows.

Components does not return any rows by itself.
Bikes and Clothings do.

does this mean when we do a distinct count multselect on the filter pane,
we are asking for measure for Bikes AND Clothings AND Components rather
than Bikes OR Clothings OR Components ?

Thank you

--
Message posted via http://www.sqlmonster.com

Reply With Quote
  #2  
Old   
jean via SQLMonster.com
 
Posts: n/a

Default Re: strange results with distinct count - 02-27-2005 , 08:36 AM






Sorry, also wanted to add that when the time dimension is set to ALL, then
i get the required results.

Does that mean we can have only one set of "ORs" for a distinct count
aggregate?


tia

--
Message posted via http://www.sqlmonster.com

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.