Forum Discussion

gordway's avatar
gordway
Frequent Visitor
5 years ago

OData Feed Parameters for Stored Procedure

I would like to be able to run a SQL stored procedure through OData feed data source using a dynamic parameter. For example, I would like to enter a customer number that power BI subsequently refreshes and spits out my stored procedure that has already been set up. 

 

I have been able to do this in excel using this language in the advanced editor before the API source: 

let
VarCustNum = Number.ToText( Excel.CurrentWorkbook(){[Name="VarCustNum"]}[Content]{0}[Column1])

 

Is it possible to set up a similar call to the odata feed source using Power BI?

3 Replies