dbTalk Databases Forums  

MDX QUERY DIM or LEFT OR SPLIT??

comp.databases.olap comp.databases.olap


Discuss MDX QUERY DIM or LEFT OR SPLIT?? in the comp.databases.olap forum.



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

Default MDX QUERY DIM or LEFT OR SPLIT?? - 06-29-2005 , 06:25 AM






Hello
i have some problem with this MDX Statment :

with
SET [kunden] as 'Filter (descendants([Dim_x].[Alle Kunden], , LEAVES),
left([Dim_x],1,1) = "(" ) '
select
{descendants([Dim_Kx].[Alle Kunden], , LEAVES) } on rows,
{([measures].[Standard])} on columns

from z
Result :
Standard
(test1) 44444
(test2) 54567
(test3) 3214
test5 4535
test6 11111
but i want to filter i need only result with () how can i do it please
i need help



many thanks,
Prince


Reply With Quote
  #2  
Old   
Chris Needham
 
Posts: n/a

Default Re: MDX QUERY DIM or LEFT OR SPLIT?? - 06-30-2005 , 03:58 AM






Hi Prince,

I think the problem may be that you need to display the filtered set on
the rows.

i.e.

WITH
SET [Kunden] as '...'
SELECT
{[Kunden]} on Rows,
{[Measures].[Standard]} on Columns
Quote:
From Z
Chris N

prince wrote:
Quote:
Hello
i have some problem with this MDX Statment :

with
SET [kunden] as 'Filter (descendants([Dim_x].[Alle Kunden], , LEAVES),
left([Dim_x],1,1) = "(" ) '
select
{descendants([Dim_Kx].[Alle Kunden], , LEAVES) } on rows,
{([measures].[Standard])} on columns

from z
Result :
Standard
(test1) 44444
(test2) 54567
(test3) 3214
test5 4535
test6 11111
but i want to filter i need only result with () how can i do it please
i need help



many thanks,
Prince


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.