dbTalk Databases Forums  

MDX function does not working with multiple selection in OWC

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


Discuss MDX function does not working with multiple selection in OWC in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
ncelikok
 
Posts: n/a

Default Re: MDX function does not working with multiple selection in OWC - 04-10-2005 , 02:04 PM







Hi Deepak,

I applied the solution to my case. It seems to work. But i have a query
performance problem. Is there a way to optimize the MDX funtion you
provided?

Thanks.

Nilgun


*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #12  
Old   
Deepak Puri
 
Posts: n/a

Default Re: MDX function does not working with multiple selection in OWC - 04-12-2005 , 11:05 AM






Hi Nilgun,

Can you give an idea of the structure and size of the actual Geo
dimension that you are applying this to? If the number of selected
members to iterate over is large, it may be harder to improve
perfromance.

The other thing is to see how much overhead the formula for filtering
the selected members is adding. You can add a constant calculated
measure and compare its performance:

Quote:
Sum(Generate({[Store].CurrentMember} as S,
Filter([Store].[Store Name].Members,
ValidMeasure(([Measures].[StoreCount], S.Item(0),
StrToMember("[StoreDup].["
+ [Store].CurrentMember.Name + "]"))) > 0)),
1)
Quote:

- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.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.