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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Ashish_2022
Regular Visitor

Custom SQL Query not supported by Power BI Service?

Custom SQL Query not supported by Power BI Service? Auto Refresh failes with error "Native queries aren't supported by this value". when Manually Refreshed in Power BI Desktop data gets refreshed. 

3 REPLIES 3
Anonymous
Not applicable

Create a View for the SQL query and use that view in your Power BI report. I ran into the same issue and fixed it using View. My data refresh using gateway is also working now.

Thanks,
Kashif Wasim
Pareto Systems LLC
kashif.wasim@paretosystems.com

v-angzheng-msft
Community Support
Community Support

Hi, @Ashish_2022 

Here are some references that may be helpful

"Native queries aren't supported by this value." When trying to run Stored Proc Call in Power BI

SnowFlake & PowerBI "native queries aren't support by this value"

Power BI – Turning off (Disabling) Native Database Queries

 

Power BI Native Query and Query Folding

Solved! Query folding for native SQL in Power BI

If this doesn't cover your case, please consider sharing more details.

 

Best Regards,
Community Support Team _ Zeon Zheng

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Needs more details. Please provide a sanitized version of your Power Query code

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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