dbTalk Databases Forums  

Display Parent for Missing Facts

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


Discuss Display Parent for Missing Facts in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
SteveM
 
Posts: n/a

Default Display Parent for Missing Facts - 07-19-2006 , 09:50 PM






This should be easy... but I'm still learning.

I have a hierarchy displaying
Area
Dept
Task

The measure is Target.

The hierarchy displays fine, but if there isn't a target fact for a specific
task, the Task does not display. How do I display tasks for which there
aren't any measures?
I want to see all Tasks regardless of whether there are any details for them.




Reply With Quote
  #2  
Old   
Jeje
 
Posts: n/a

Default Re: Display Parent for Missing Facts - 07-19-2006 , 10:19 PM






most of the client tools remove empty rows/columns by adding the "non empty"
keyword in the MDX statement
like:
select non empty task.members on rows, measures.members on columns
from cube

try to change the "hide empty rows" option (the pivottable has this option)
or the equivalent option of your client tool.
if you can edit the MDX query, remove this keyword your self.


"SteveM" <SteveM (AT) discussions (DOT) microsoft.com> wrote

Quote:
This should be easy... but I'm still learning.

I have a hierarchy displaying
Area
Dept
Task

The measure is Target.

The hierarchy displays fine, but if there isn't a target fact for a
specific
task, the Task does not display. How do I display tasks for which there
aren't any measures?
I want to see all Tasks regardless of whether there are any details for
them.






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.