Forum Discussion

joelsennhauser's avatar
joelsennhauser
Regular Visitor
2 years ago
Solved

Trigger stored procedure with dynamic parameter from dashboard input

Hello Guys   Is there a way to trigger stored procedures with a dynamic parameter that are entered by the user in the dashboard? The data should be updated in real time on the dashboard. The para...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi joelsennhauser ,

    I think you can take advantage of the Power BI integration with Dynamic M Query Parameters.
    First you can create parameters in Power Query, for dynamic M query parameters you can check this document: Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn

    After defining the parameters, bind them to the e.g. slicer on the Power BI report. This binding allows end users to dynamically select parameter values directly from the dashboard. The selected values can then be passed to the stored procedure.
    To call a stored procedure with dynamically selected parameters, you need to reference those parameters in the M query.

     

     

     

    Best Regards

    Yilong Zhou

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.