Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
The tables are massive, I just cannot bring all of it and filter after.
How can I pass slicer values to stored procedure and based on user selection it executes?
I am using ODBC
@VIKPOWERBI , There is a method, But mostly for SQL server. check if that can work for ODBC
That works on ODBC but it is not what I need.
I need the data to change based on user input. So for example if he choose to change slicer ID:14 it will load the query to show all rows with ID:14. I want to pass the slicer value to the stored procedure.
Hi @VIKPOWERBI,
You can refer the content in the following links to get it:
How to update M query parameters based on filters and slicers
Use Slicers for Query Parameters in PowerBI
Best Regards
Hello,
I have researched a lot on this issue and it seems there is no way to do what I need to do.
I tried M query parameters before but they don't support ODBC.
The 2nd link looked interesting hack but at the end It seems I can only use it on power BI desktop.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 47 | |
| 45 | |
| 33 | |
| 33 | |
| 30 |
| User | Count |
|---|---|
| 136 | |
| 116 | |
| 58 | |
| 58 | |
| 56 |