dbTalk Databases Forums  

MDX-query with Aggregate

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


Discuss MDX-query with Aggregate in the microsoft.public.sqlserver.olap forum.



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

Default MDX-query with Aggregate - 10-15-2003 , 08:55 AM







Hallo

I need help with the following. I've developed an application for
analysis and one of the fundamental functions is to be able to select
multiple members in a background dimension (the "Where" in the mdx
query. My application works fine if i don't restrict permissions in the
dimension. But when i remove the All level and only allows one member on
the second level (using dimension security) the user gets an error
indicating that the Aggregation Member cannot be found. An example of
the query is as follows:

WITH MEMBER [Kostnadsställe.Ansvar].[ Aggregation] AS ' AGGREGATE( {
[Kostnadsställe].[Ansvar].[Ansvar].&[820].&[27031.820],
[Kostnadsställe].[Ansvar].[Ansvar].&[820].&[27032.820] } ) ',
SOLVE_ORDER = 0 SELECT { [Bokföringsdatum].[Hela tidsperioden] } ON
COLUMNS , { [Ansvar].[Administration].[Level 03].[820 Urban Holmberg] }
ON ROWS FROM [Ekonomi] WHERE ( [Kostnadsställe.Ansvar].[ Aggregation],
[Measures].[Saldo] )



I shuld also mention that everything works fine if the user only select
one member in the background dimension (Where-clause)



A quick answer is greatly appreciated.

Thanks

Andreas Åström


--
Posted via http://dbforums.com

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

Default Re: MDX-query with Aggregate - 10-16-2003 , 01:19 AM







Hallo out there,

If you need more information to respond to my question just say so. I'm
sure that someone has a good answer to myc question.

Regards

Andreas


--
Posted via http://dbforums.com

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.