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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.