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 at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
I'm working on a pipeline in Microsoft Fabric, where I want to execute a stored procedure in the destination warehouse and pass parameters to it. Here’s the stored procedure I’ve created:
CREATE PROCEDURE Sales.MyStoredProcedure
@CustomerName NVARCHAR(100) = NULL,
@EmailAddress NVARCHAR(100) = NULL
AS
BEGIN
SELECT *
FROM Sales.Dim_Customer
WHERE (@CustomerName IS NULL OR CustomerName = @CustomerName)
AND (@EmailAddress IS NULL OR EmailAddress = @EmailAddress);
END;
In the pipeline's stored procedure activity, under "Settings," I can add "Stored procedure parameters." However, when I try to add my parameters (@CustomerName and @EmailAddress), the dropdown doesn’t seem to recognize these parameter names, and I’m unable to map values effectively.
Could someone explain how I should configure this in the pipeline to pass parameters correctly? Is there a specific step I’m missing, or do I need to set it up differently for the parameters to be detected automatically?
Thank you.
Solved! Go to Solution.
Hi @HamidBee
Thank you very much for sharing! This helps other members solve similar problems.
Regards,
Nono Chen
I solved it by clicking 'import':
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 Fabric update to learn about new features.