dbTalk Databases Forums  

Q. How to avoid dimension members which do not have any measures associated with them from the cube?

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


Discuss Q. How to avoid dimension members which do not have any measures associated with them from the cube? in the microsoft.public.sqlserver.olap forum.



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

Default Q. How to avoid dimension members which do not have any measures associated with them from the cube? - 01-14-2004 , 12:56 PM






Even when only a few of the dimension members have measures associated with them, the dimension members are still part of the cube. When drilling down the dimension, these members show up as rows with empty measure values in the UI.
Is there a way to suppress the dimension members which do not have measures associated with them from getting into the cube?


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

Default re: Q. How to avoid dimension members which do not have any measures associated with them from the cube? - 01-27-2004 , 01:47 PM






Try using NON EMPTY before one or more of your axis specifications

SELEC
NON EMPTY { Measures.[My Measure] } ON COLUMNS
NON EMPTY { [My Dimension].Members } ON ROW
FROM [My Cube

- Paul

---
Posted using Wimdows.net NntpNews Component - Posted from SQL Servers Largest Community Website: http://www.sqlJunkies.com/newsgroups/

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.