Forum Discussion

akosiRandy's avatar
akosiRandy
Frequent Visitor
3 years ago
Solved

How can I call a stored procedure in SQL Statement

In Ssrs, we can call a stored procedure with dynamic parameters,

 

EXEC usp_Client_Day @Start, @End, @MainCLient, @Client, 'CS,COS','NPG'

 

Quetion? How do you call a stored procedure with dynamic parameters in powerbi sql statement similar to the above code?

 

  • akosiRandy's avatar
    akosiRandy
    3 years ago

    Thanks. I guess by default i should just create the data range parameter within sql statement and create the other parameters in powerbi visual.

6 Replies