Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Is this possible? I created a datamart, and connect to it via the SQL endpoint in SSMS.
Then in SSMS i tried to create a generic procedure with this code:
USE [db_name];
GO
CREATE PROCEDURE model.uspGetEmployeesTest2
@LastName nvarchar(50),
@FirstName nvarchar(50)
AS
SET NOCOUNT ON;
SELECT *
FROM model.tablename
WHERE attribute = @FirstName AND attribute2 = @LastName
;
GO
But i just get a permission denied error. Is there any way to grant myself permission to create this in the datamart?
Solved! Go to Solution.
Hello!
Currently there is no option to create procedures in Power BI datamart, only run SELECT commands.
To create stored procedures you will need to use other tools or functionality, such as Azure Synapse or Warehouse in Microsoft Fabric.
Hello!
Currently there is no option to create procedures in Power BI datamart, only run SELECT commands.
To create stored procedures you will need to use other tools or functionality, such as Azure Synapse or Warehouse in Microsoft Fabric.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!