Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I build an Excel file that load some data calling a stored procedures using Power Query and i need to dynamically pass the parameter to that stored procedure.
The Excel file looks like the attached image (see image below) and it contains the following element:
- a query called StudyList that using a SQL statement read a list of project from a SQL database
- a query called PROMAC that execute a stored procedure that has an input parameter that should be one of the project that user select from the StudyList query
The page contains a Pivot Table where the Study Code field from StudyList query is included in the filters section of the Pivot and some fields from PROMAC query are present in teh ROW and VALUES section.
What i would like to implement is to pass to the stored procedure (under PROMAC query) the study selected from the list.
Is that possible? If so how?
I see that i can define a table and use that table as parameter for the stored procedure but the issue if that as i'm using a Pivot i'm not able to define a table name because it is not supported.
Thanks
Massimo
Solved! Go to Solution.
You may take a good look at the following post.
https://community.powerbi.com/t5/Desktop/parameterize-connection/m-p/205900#M90712
You may take a good look at the following post.
https://community.powerbi.com/t5/Desktop/parameterize-connection/m-p/205900#M90712
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
74 | |
71 | |
56 | |
37 | |
33 |
User | Count |
---|---|
71 | |
65 | |
58 | |
50 | |
47 |