dbTalk Databases Forums  

Supressing Elements of Dimension

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


Discuss Supressing Elements of Dimension in the microsoft.public.sqlserver.olap forum.



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

Default Supressing Elements of Dimension - 02-22-2005 , 02:18 AM






Hi NG,

i got the following MDX-query:

SELECT
NON EMPTY {[Measures].[IstMonat], [Measures].[IstJahr],
[Measures].[BudgetJahr], [Measures].[ForecastJahr] , [Measures].[KTOBEZ]}
ON COLUMNS,
NON EMPTY{[Konto].[2.].Children} ON ROWS
FROM IUB_1
WHERE ([ZEIT].[KJ 2004].[Jun 2004])

What must i edit in this statement to supress elements of the dimension
KONTO, who contains the string '(E)' in her names?

best regards

Frank
--
www.xax.de




Reply With Quote
  #2  
Old   
Ohjoo Kwon
 
Posts: n/a

Default Re: Supressing Elements of Dimension - 02-24-2005 , 02:38 AM







NON EMPTY{Filter([Konto].[2.].Children, InStr(1, [Konto].CurrentMember.Name,
"(E)") > 0 )} ON ROWS

Ohjoo Kwon


"Frank Matthiesen" <fm (AT) xax (DOT) de> wrote

Quote:
Hi NG,

i got the following MDX-query:

SELECT
NON EMPTY {[Measures].[IstMonat], [Measures].[IstJahr],
[Measures].[BudgetJahr], [Measures].[ForecastJahr] ,
[Measures].[KTOBEZ]}
ON COLUMNS,
NON EMPTY{[Konto].[2.].Children} ON ROWS
FROM IUB_1
WHERE ([ZEIT].[KJ 2004].[Jun 2004])

What must i edit in this statement to supress elements of the dimension
KONTO, who contains the string '(E)' in her names?

best regards

Frank
--
www.xax.de






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.