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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
tw537
Frequent Visitor

Run Native Query (stored procedures)in Polling Expression Failed

I am configuring incremental refresh in Tabular Editor 3 and plan to run stored procedures to get the last change date. But I am keeping getting errors 

{"error":{"code":"DM_GWPipeline_Gateway_DataSourceAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_DataSourceAccessError","parameters":{},"details":[],"exceptionCulprit":1}}}

 

It seems related to a setting in Power BI Desktop but the semantic model was developed through XMLA endpoind and can't be opened in Power BI Desktop.

tw537_0-1742218981285.png

 

1 ACCEPTED SOLUTION

For a polling expression you should output a single scalar value to compare against a bookmark, you can return a table but then use steps to convert to scalar


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

8 REPLIES 8
v-csrikanth
Community Support
Community Support

Hi @tw537 
I wanted to follow up since I haven't heard from you in a while. Have you had a chance to try the suggested solutions?
If your issue is resolved, please consider marking the post as solved. However, if you're still facing challenges, feel free to share the details, and we'll be happy to assist you further.
Looking forward to your response!

v-csrikanth
Community Support
Community Support

Hi @tw537 

We haven't heard from you since last response and just wanted to check whether the solution provided has worked for you. If yes, please Accept as Solution to help others benefit in the community.
Thank you.

If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.
Best Regards,
Community Support Team _ C Srikanth.

v-csrikanth
Community Support
Community Support

Hi @tw537 

Thank you for being part of the Microsoft Fabric Community.

As highlighted by @Deku @lbendlin , the proposed approach appears to effectively address your requirements. Could you please confirm if your issue has been resolved?
If you are still facing any challenges, kindly provide further details, and we will be happy to assist you.


If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.
Best Regards,
Community Support Team _ C Srikanth.

Deku
Super User
Super User

Think the problem is the stored procedure rather than the native query. Try calling the stored procudure via a view


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
tw537
Frequent Visitor

The stored procedure is used to determine the last change date and returns change in every call. The view/table can only store a fix table and I don't think it will work.

For a polling expression you should output a single scalar value to compare against a bookmark, you can return a table but then use steps to convert to scalar


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
lbendlin
Super User
Super User

I am configuring incremental refresh in Tabular Editor 3

Any particular reason?  Non-temporal partition boundaries?

For source contraol purpose. 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors