Forum Discussion
pperumal
3 years agoFrequent Visitor
Pass slicer filter to the SQL Server DB - Direct Query Mode
Hi, Is it possible to pass the slicer value from power BI as a parameter to a SQL stored procedure ? Thanks in Advance!
- 3 years ago
Hi pperumal
You may try the method introduced in this blog: Chris Webb's BI Blog: TSQL Table-Valued Functions And Dynamic M Parameters In Power BI DirectQuery
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!
gzsedely
3 years agoFrequent Visitor
This could also be the input parameter of the stored procedure!
For example, in the SQL script of the SQL server connector!
pperumal
3 years agoFrequent Visitor
How do i pass the slicer filters as a input parameter to the stored procedure in the Direct Query. Could you please share any blog or notes available.