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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.