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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.