dbTalk Databases Forums  

Getting MDX from Pivottable (OWC)?

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


Discuss Getting MDX from Pivottable (OWC)? in the microsoft.public.sqlserver.olap forum.



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

Default Getting MDX from Pivottable (OWC)? - 12-23-2003 , 03:25 PM






Hi,

I am using pivottables from OWC10 and I was wondering how you can get
the MDX from it. I know you can set the MDX but don't know how to
retrieve the MDX.

There is a long winded solution but I get a "script out of range
error" on ".RowAxis.InsertFieldSet .FieldSets("[RowFs]")" in the
window_onload sub:

http://groups.google.com/groups?q=.R... le.com&rnum=1

Please post your technique on how to get the MDX from a pivottable, or
if you know how to fix the script out of range error" for the above
example.

Also, can OWC11 get MDX from a pivottable?

Thank you in advance!

P

Reply With Quote
  #2  
Old   
Brian Altmann
 
Posts: n/a

Default Getting MDX from Pivottable (OWC)? - 12-27-2003 , 01:36 PM






You can use the logfile property of the connection string
to set up a text file that will record the MDX generated
by OWC.
HTH,
Brian
www.geocities.com/brianaltmann/olap.html


Quote:
-----Original Message-----
Hi,

I am using pivottables from OWC10 and I was wondering how
you can get
the MDX from it. I know you can set the MDX but don't
know how to
retrieve the MDX.

There is a long winded solution but I get a "script out
of range
error" on ".RowAxis.InsertFieldSet .FieldSets("[RowFs]")"
in the
window_onload sub:

http://groups.google.com/groups?
q=.RowAxis.InsertFieldSet+.FieldSets(%22%5BRowFs%5 D%22)
&hl=en&lr=&ie=UTF-8&oe=UTF-
8&selm=110bef3d.0106141018.2d5b0d5c%
40posting.google.com&rnum=1
Quote:
Please post your technique on how to get the MDX from a
pivottable, or
if you know how to fix the script out of range error" for
the above
example.

Also, can OWC11 get MDX from a pivottable?

Thank you in advance!

P
.


Reply With Quote
  #3  
Old   
mrwoopey
 
Posts: n/a

Default Re: Getting MDX from Pivottable (OWC)? - 01-09-2004 , 12:33 PM



Brian,

Thank you for your response.
I tried it and yes it wrote a MDX statement to the logfile but when I
ran the MDX statement in the MDX Sample Application, I received the
following error:

"Unable to open cellset. Formula error - cannot find dimension member
("member_caption") - in a name binding function"

Here is the MDX that I tried to run:

select filter([Measures].members,
[Measures].currentmember.member_caption <>
[Measures].currentmember.member_caption) on columns from [MyCube]

What do I need to do so it writes the correct MDX query to the log
file?

--------------------------------------
The MDX statement in the logfile does not look like what the view that
I created.

I basically need to get the MDX statement to create 3D charts (via
chart fx object).

Please post any other techniques to get MDX from OWC!

Also, please Microsoft, read the numerous amount of posts of people
wanting to get MDX from a OWC pivot tables! Please add this feature,
it is needed badly!


Thanks!

Phin

"Brian Altmann" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
You can use the logfile property of the connection string
to set up a text file that will record the MDX generated
by OWC.
HTH,
Brian
www.geocities.com/brianaltmann/olap.html


-----Original Message-----
Hi,

I am using pivottables from OWC10 and I was wondering how
you can get
the MDX from it. I know you can set the MDX but don't
know how to
retrieve the MDX.

There is a long winded solution but I get a "script out
of range
error" on ".RowAxis.InsertFieldSet .FieldSets("[RowFs]")"
in the
window_onload sub:

http://groups.google.com/groups?
q=.RowAxis.InsertFieldSet+.FieldSets(%22%5BRowFs%5 D%22)
&hl=en&lr=&ie=UTF-8&oe=UTF-
8&selm=110bef3d.0106141018.2d5b0d5c%
40posting.google.com&rnum=1

Please post your technique on how to get the MDX from a
pivottable, or
if you know how to fix the script out of range error" for
the above
example.

Also, can OWC11 get MDX from a pivottable?

Thank you in advance!

P
.


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.