|
||||||
| Random Procrastination Darren Gosbell is a SQL Server expert and Microsoft 'Most Valued Professional' who works as a Principal Consultant at James & Monroe. His blog covers Business Intelligence, SQL Server, .Net, Powershell and MDX Madness |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 27
![]() |
A few weeks ago I did a post introduced the ExecuteSQL .net stored procedure for SSAS. Chris Webb asked if this function can be called from Excel 2007 when it is set this up as a rowset action and I figured that this would make a good topic for a blog post. So the following screen shots show how you would go about setting up such an action. As a quick example I cheated a bit and set up an Rowset action that calls the sp_who2 system stored procedure. This way I did not have a depedancy on any particular database. You don't have to use a stored procedure, you can use any sort of SQL command that returns a set of rows into a rowset action.
Below is how I setup the action: * When you right click on a cell in a pivot table you will see the following: And clicking on the "Rowset Action" creates another sheet that looks like this: ![]() Since I posted about the ExecuteSQL function I have made a slight change to the code I checked into the ASStoredProcedure project on codeplex. I have now moved it into a separate "SQLQuery" project so that it compiles to it's own .dll file and does not have to be deployed with the same impersonation mode as the main ASSP assembly. * Technorati Tags: ASSP, Analysis Services, Stored Procedures, Codeplex More... |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Drug & Alcohol Action Team uses SAS to tackle drugs and save lives by improving joine | Latest News Headlines | SAS Forum | 0 | 1st July 2009 10:59 AM |
| SSAS: Are my Aggregations processed? | Darren Gosbell | Random Procrastination | 0 | 23rd June 2009 08:30 PM |
| SSAS: There is no such thing as an Attribute in MDX! | Darren Gosbell | Random Procrastination | 0 | 23rd June 2009 08:30 PM |
| SSAS: T-SQL Equivalent for a Many-to-Many relationship | Darren Gosbell | Random Procrastination | 0 | 23rd June 2009 08:30 PM |
| SAS CEO closes the World Economic Forum on Latin America with call for action from pr | Latest News Headlines | SAS Forum | 0 | 22nd April 2009 01:16 AM |
|
|
|
|
|
|