Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello folks,
I have SQL Server as a data source which is set in Import mode. I am calling a stored procedure to get the data in the Power Query. I am using Dynamic M- Query Parameters to pass the respective Parameters to the Stored Procedure. In this stored procedure I am going to pass the table name as my Parameter.
I created another data set that gets all the table names from the SQL server which I am going to present in a Slicer value. My current objective is to pass the selected Slicer value to the first Stored procedure so that I can get all the relevant data from my selected table.
Here I am looking for help on How to bind the selected slicer value to the Stored Procedure in Power Query so that I get the data from the table I needed only.
Thanks in advance!!!
Hi, @Anonymous
If you can change the connection mode to direct query,maybe you can try this method according to the doc:
Dynamic M query parameters in Power BI Desktop (preview) - Power BI | Microsoft Docs
Best Regards,
Community Support Team _ Janey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Refer if this old blog
https://www.thebiccountant.com/2017/03/22/use-slicers-for-query-parameters-in-powerbi/
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
97 | |
81 | |
77 | |
66 |
User | Count |
---|---|
126 | |
105 | |
103 | |
81 | |
72 |