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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I need to use a Direct query to have real-time data and would like to call a Stored Proc.
Is there any workaround to achieve this?
HI @Anonymous,
AFAIK, current you can't invoke a stored procedure in direct query mode.
I'd like to suggest you create a copy of import mode on the query table that you want to execute the stored procedure.
Regards,
Xiaoxin Sheng
@Anonymous ,
Looks like @TomMartens had a way here: https://community.powerbi.com/t5/Desktop/Can-i-call-Stored-Procedure-with-Direct-Query/td-p/267141