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.

Reply
Anonymous
Not applicable

can we call stored procedure from power bi service or from user end.

Hi ,

 

I have a sp with  4 parameters and I am connecting the sp with direct query mode and getting error like )syntax is missing.but when i connect the same sp with import option it works fine.

the requirement is that user can access his data by calling out the parameters from frontend and when he login with his credentials he should automatically get the data by calling out the procedure at backend through pbi report link.

 

did anyone faced such schenario? Please provide me a solution.

 

Regards

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @Anonymous,

Unfortunately, current power bi not able to use the stored procedure on datasource with directquery mode.
Please change to 'import' mode or 'make a copy' with a raw query table with 'import' mode to execute the stored procedure.
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
lbendlin
Super User
Super User

There is no solution at the moment. Use RLS with DirectQuery to emulate the sp functionality.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors