Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
kumaravel23
Frequent Visitor

pass a selected value from slicer to SQL server stored procedure

Dear Team,

 

i am able to run defult parameter to sql server store procedure. i facing issue in if i bind a parameter value to slicer value. the store procedure query not working.  

 

[fg= my input paramter]

 

let
data=Text.Combine({"'",fg,"'"}),
Source = Sql.Database("192.168.1.183","kumaravel",[Query="exec CHECK_WO "&fg&""])
in
Source

 

i need your help team.     

 it is possible?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You need to do more than that. Your bound parameter can be a single value or a list and you need to construct your custom query accordingly.

 

Similar to this Chris Webb's BI Blog: Handling Multi-select In Power BI Dynamic M Parameters (crossjoin.co.uk)

View solution in original post

2 REPLIES 2
kumaravel23
Frequent Visitor

Hii @lbendlin ,

             thanks for your reply. i will workout your sollution .

lbendlin
Super User
Super User

You need to do more than that. Your bound parameter can be a single value or a list and you need to construct your custom query accordingly.

 

Similar to this Chris Webb's BI Blog: Handling Multi-select In Power BI Dynamic M Parameters (crossjoin.co.uk)

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.