Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Unable to use Stored Procedures with DirectQuery (bug in Power BI Desktop)

When calling Stored Procedures in a SQL Server database in Power BI Desktop (latest version), we get ab error "This query contins transformations that can't be used for a live connection"

 

bug-storedproc.png

Status: New
Comments
v-qiuyu-msft
Community Support

Hi @caioproiete,

 

Based on my research, calling stored procedure is not supported in the DirectQuery mode.

 

In your scenario, you may have done some transform steps in Query Editor which is not supported in DirectQuery then the error occurs.

 

You can go through this article: Use DirectQuery in Power BI Desktop.

 

Best Regards,
QiuyunYu

space83
Helper IV

yerp. i am also received the same error.

very frustrated power bi not support execute sp from direct query.