dbTalk Databases Forums  

OWC and MDX

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


Discuss OWC and MDX in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Muhammad Omer [Xavor]
 
Posts: n/a

Default OWC and MDX - 10-06-2003 , 04:34 AM






Is there any way to retreive the MDX bieng generated in the background by
excel OWC when I drag and drop fields ?
I've written a simple query with a crossjoin of three dimensions and OWC is
having a very hard time displaying everything!!!! It works fine though, if
I just keep dragging and dropping using the OWC UI
Anyone got any ideas what's going on ? Is the OWC not cross joining
dimensions when I drag them in ?

Omer



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

Default OWC and MDX - 10-06-2003 , 06:59 AM







Add LOG FILE property in the Connection String as shown in
the following example.

PivotTable1.ConnectionString = "Provider=MSOLAP.2;Data
Source=SERVERNAME;Initial Catalog=FoodMart 2000;log
file=c:\MDXQUERY.txt;"
PivotTable1.DataMember = "sales"

The MDX Queries used by the OWC will get appended in the
C:\MDXQUERY.txt file.

HTH.

Cheers,
Sanka

Quote:
-----Original Message-----
Is there any way to retreive the MDX bieng generated in
the background by
excel OWC when I drag and drop fields ?
I've written a simple query with a crossjoin of three
dimensions and OWC is
having a very hard time displaying everything!!!! It
works fine though, if
I just keep dragging and dropping using the OWC UI
Anyone got any ideas what's going on ? Is the OWC not
cross joining
dimensions when I drag them in ?

Omer


.


Reply With Quote
  #3  
Old   
Muhammad Omer [Xavor]
 
Posts: n/a

Default Re: OWC and MDX - 10-08-2003 , 07:40 AM



Hi Sanka
I've already done this and the query comming out is very VERY daunting!! Is
there an easier way ?
Are there any guidelines which can be followed when writing the MDX which
will keep the performance reasonable ?
Omer


"Sanka" <loonysan (AT) mailcity (DOT) com> wrote

Quote:
Add LOG FILE property in the Connection String as shown in
the following example.

PivotTable1.ConnectionString = "Provider=MSOLAP.2;Data
Source=SERVERNAME;Initial Catalog=FoodMart 2000;log
file=c:\MDXQUERY.txt;"
PivotTable1.DataMember = "sales"

The MDX Queries used by the OWC will get appended in the
C:\MDXQUERY.txt file.

HTH.

Cheers,
Sanka

-----Original Message-----
Is there any way to retreive the MDX bieng generated in
the background by
excel OWC when I drag and drop fields ?
I've written a simple query with a crossjoin of three
dimensions and OWC is
having a very hard time displaying everything!!!! It
works fine though, if
I just keep dragging and dropping using the OWC UI
Anyone got any ideas what's going on ? Is the OWC not
cross joining
dimensions when I drag them in ?

Omer


.




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.