July 15, 2010 at 5:27 am
Hi,
Using : Analysis Services 2008, Excel 2007
I've created a Cube and am able to connect from Excel.
Cube does have some Calculated Measures, Named Sets and KPIs.
Now, I'm been writing some MDX in MS SQL Server Management Studio.
How do I write MDX queries and make them available through the Cube?
Can I create Cube Views / Cube sprocs that can be visible through the Cube?
I've already got Calculated Measures, Named Sets and KPI's.
I've written some MDX, which I can run successfully through SSMS, for example as below, how would I bring this directly into the Cube as a view or sproc or something?
I would like to use this MDX through the Cube into Excel.
WITH
SET [2009 TO 2012] AS '{[Fiscal Year].[2009]:[Fiscal Year].[2012]}'
SELECT [2009 TO 2012] ON COLUMNS,
DESCENDANTS([Company].[Region - Country].[Region].&[EMEA]) ON ROWS
FROM [DW]
WHERE [Date].&[2010-07-13T11:36:29]
thanks,
Amrit
November 4, 2010 at 9:02 am
It's very easy to do with PowerPivot in Excel 2010 - that's essentially what it was designed to do. Not sure how to do it in Excel 2008. If you're thinking of making the upgrade leap, you now have one more reason to give it a shot.
November 4, 2010 at 9:48 am
you can try assemblies ..but COM assemblies were deprecated in SQL Server 2008 Analysis Services (SSAS)
November 4, 2010 at 3:03 pm
Several descriptions of MDX to Excel options I ran across when researching an MDX issue today:
One of those may give you what you need.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply