dbTalk Databases Forums  

excel pivottable (not owc)

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


Discuss excel pivottable (not owc) in the microsoft.public.sqlserver.olap forum.



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

Default excel pivottable (not owc) - 08-26-2005 , 03:15 PM






Does this support MDX ?

Not showing but using to create...

It didn't in the previous versions but what about the new ones ?

/Michael V.



Reply With Quote
  #2  
Old   
Thomas Greuel
 
Posts: n/a

Default Re: excel pivottable (not owc) - 09-01-2005 , 04:03 AM






Michael,

I'm not 100% sure what you mean. Excel does of course "support MDX" in
the sense that when you use XL pivot tables to connect to a OLAP cube
XL creates an MDX query. You can view this query by logging the queries
send to the server or by showing the MDX property of the pivot table
(Xl 2002/XP or higher).

To log the queries you have to add "Log File = c:\log.txt" to the
coonnection string where c:\log.txt is the log file location. To show
the MDX property you could select a cell in the pivot table and open
the Visual Basic Editor (Tools - > Macro - > Visual Basic editor) and
type "? activecell.PivotTable.MDX" in the Immediate window.

Excel does not natively support executing an MDX query. You can also
not change the MDX string of an pivot table.

I created an Excel add in that helps showing the MDX String, editing
the connection string and even provides a simple method to execute and
show MDX queries in XL. Email me if you are interested.

Hope that helps

Thomas



Michael Vardinghus schrieb:

Quote:
Does this support MDX ?

Not showing but using to create...

It didn't in the previous versions but what about the new ones ?

/Michael V.


Reply With Quote
  #3  
Old   
Michael Vardinghus
 
Posts: n/a

Default Re: excel pivottable (not owc) - 09-01-2005 , 07:40 AM



It was preciously the executing part.

So I cannot in code execute and mdx statement which results in a "finished"
pivottable report .... i have to do something more ?

"Thomas Greuel" <thomasgreuel (AT) hotmail (DOT) com> wrote

Quote:
Michael,

I'm not 100% sure what you mean. Excel does of course "support MDX" in
the sense that when you use XL pivot tables to connect to a OLAP cube
XL creates an MDX query. You can view this query by logging the queries
send to the server or by showing the MDX property of the pivot table
(Xl 2002/XP or higher).

To log the queries you have to add "Log File = c:\log.txt" to the
coonnection string where c:\log.txt is the log file location. To show
the MDX property you could select a cell in the pivot table and open
the Visual Basic Editor (Tools - > Macro - > Visual Basic editor) and
type "? activecell.PivotTable.MDX" in the Immediate window.

Excel does not natively support executing an MDX query. You can also
not change the MDX string of an pivot table.

I created an Excel add in that helps showing the MDX String, editing
the connection string and even provides a simple method to execute and
show MDX queries in XL. Email me if you are interested.

Hope that helps

Thomas



Michael Vardinghus schrieb:

Does this support MDX ?

Not showing but using to create...

It didn't in the previous versions but what about the new ones ?

/Michael V.




Reply With Quote
  #4  
Old   
Michael Vardinghus
 
Posts: n/a

Default Re: excel pivottable (not owc) - 09-01-2005 , 07:42 AM



However Thomas

I've tried the XP web compoentn and there you can enter a commandtext when
connecting to a cube which results in a finished pivottable.

Is that possible - to use it when opening af report / form for the first
time....

Didn't have the same choice when connecting in excel - tried to put
somehting in the commandtext property in vb with no luck...

"Thomas Greuel" <thomasgreuel (AT) hotmail (DOT) com> wrote

Quote:
Michael,

I'm not 100% sure what you mean. Excel does of course "support MDX" in
the sense that when you use XL pivot tables to connect to a OLAP cube
XL creates an MDX query. You can view this query by logging the queries
send to the server or by showing the MDX property of the pivot table
(Xl 2002/XP or higher).

To log the queries you have to add "Log File = c:\log.txt" to the
coonnection string where c:\log.txt is the log file location. To show
the MDX property you could select a cell in the pivot table and open
the Visual Basic Editor (Tools - > Macro - > Visual Basic editor) and
type "? activecell.PivotTable.MDX" in the Immediate window.

Excel does not natively support executing an MDX query. You can also
not change the MDX string of an pivot table.

I created an Excel add in that helps showing the MDX String, editing
the connection string and even provides a simple method to execute and
show MDX queries in XL. Email me if you are interested.

Hope that helps

Thomas



Michael Vardinghus schrieb:

Does this support MDX ?

Not showing but using to create...

It didn't in the previous versions but what about the new ones ?

/Michael V.




Reply With Quote
  #5  
Old   
Thomas Greuel
 
Posts: n/a

Default Re: excel pivottable (not owc) - 09-02-2005 , 03:47 AM



No, not that I'm aware of.


Michael Vardinghus schrieb:

Quote:
However Thomas

I've tried the XP web compoentn and there you can enter a commandtext when
connecting to a cube which results in a finished pivottable.

Is that possible - to use it when opening af report / form for the first
time....

Didn't have the same choice when connecting in excel - tried to put
somehting in the commandtext property in vb with no luck...

"Thomas Greuel" <thomasgreuel (AT) hotmail (DOT) com> wrote in message
news:1125565432.299283.327430 (AT) g43g2000cwa (DOT) googlegroups.com...
Michael,

I'm not 100% sure what you mean. Excel does of course "support MDX" in
the sense that when you use XL pivot tables to connect to a OLAP cube
XL creates an MDX query. You can view this query by logging the queries
send to the server or by showing the MDX property of the pivot table
(Xl 2002/XP or higher).

To log the queries you have to add "Log File = c:\log.txt" to the
coonnection string where c:\log.txt is the log file location. To show
the MDX property you could select a cell in the pivot table and open
the Visual Basic Editor (Tools - > Macro - > Visual Basic editor) and
type "? activecell.PivotTable.MDX" in the Immediate window.

Excel does not natively support executing an MDX query. You can also
not change the MDX string of an pivot table.

I created an Excel add in that helps showing the MDX String, editing
the connection string and even provides a simple method to execute and
show MDX queries in XL. Email me if you are interested.

Hope that helps

Thomas



Michael Vardinghus schrieb:

Does this support MDX ?

Not showing but using to create...

It didn't in the previous versions but what about the new ones ?

/Michael V.



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.