dbTalk Databases Forums  

Selecting only one column in a dimension?

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


Discuss Selecting only one column in a dimension? in the microsoft.public.sqlserver.olap forum.



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

Default Selecting only one column in a dimension? - 06-16-2005 , 01:29 PM






Hello,

I have a very simple query where I'd like to remove a column. The query is:
select {[Measures].[Transaction ID]} on Columns,
ORDER([Products].[SDP].[SeniorGroup].[ProductGroup].Children,
[Measures].[Transaction ID], DESC) on Rows from ProductToProductCube

This query returns:
Col1;Col2;Col3
ProductGroup;Child1;29
ProductGroup;Child2;932
ProductGroup;Child3;394
ProductGroup;Child4;29

However, I'd like to remove the ProductGroup column and have it return (to
work with the other existing queries):
Col1;Col2
Child1;29
Child2;932
Child3;394
Child4;29

Is there an easy way to do this?



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.