x

MDX query should behave like ADO query

I am trying to match existing reporting functionality while building up a new cube for a Proof of Concept.

Can I retrieve data from my cube using an MDX query and put it into a recordset so I can then populate an Excel Sheet with the data?

more ▼

asked Nov 12 '09 at 07:26 PM in Default

Raj More gravatar image

Raj More
1.7k 77 82 84

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

You may be better getting Excel to connect to the cube directly.

But otherwise, sure... use ADOMD.Net.

more ▼

answered Nov 12 '09 at 07:40 PM

Rob Farley gravatar image

Rob Farley
5.7k 15 18 20

Will ADOMD.net work with Excel 2003?
Nov 18 '09 at 03:39 PM Raj More
I was meaning that you could use C# or VB.Net to connect to your cube using ADOMD.Net, and then dump the results to an Excel file. But as an alternative, you could just use Excel's ability to connect directly (which is also supported in Excel 2003).
Nov 19 '09 at 03:34 AM Rob Farley
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x166
x108
x62

asked: Nov 12 '09 at 07:26 PM

Seen: 1958 times

Last Updated: Nov 12 '09 at 07:26 PM