Remove passing-parameters-to-a-sql-stored-procedure-from-powerpivot-dynamically-using-vba
article thumbnail

Dynamically Passing Parameters to a SQL Stored Procedure from PowerPivot Using VBA

BI Insight

In this post I express an easy way to refresh a PowerPivot model dynamically based on SQL Server Stored Procedures. Let’s start with SQL Server Management Studio (SSMS) 2012 and use Adventure Works 2012 database. Run the following script to see the results in SSMS: exec [dbo].[uspGetBillOfMaterials]

article thumbnail

Dynamically Passing Parameters to a SQL Stored Procedure from PowerPivot Using VBA

BI Insight

In this post I express an easy way to refresh a PowerPivot model dynamically based on SQL Server Stored Procedures. Let’s start with SQL Server Management Studio (SSMS) 2012 and use Adventure Works 2012 database. Run the following script to see the results in SSMS: exec [dbo].[uspGetBillOfMaterials]

article thumbnail

Dynamically Passing Parameters to a SQL Stored Procedure in Excel 365 Using Power Query

BI Insight

In September 2014, I wrote a blog post on dynamically passing parameters from PowerPivot to a SQL Server stored procedure using VBA. Back then, VBA was a real lifesaver. It perhaps still is for many of us. But frankly, I even forgot how to write VBA.

IT 63