web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Can't execute sql quer...
Power Apps
Unanswered

Can't execute sql query against on-prem gateway

(0) ShareShare
ReportReport
Posted on by 3

I have a project that has me stumped. I have to query a DB via on-prem (in a flow I guess?) gateway to use the result in Power Apps. I'd need to pass an invoice number to the query as a parameter to get the correct row using a fairly complex query with multiple joins. But direct native SQL queries are not supported for some reason I can't fathom.

 

Is there a way to do this in Power Query? I'd need to pass an ID to the query to get the correct data I would need, and the query would have to run whenever someone used the app, which could be anywhere from 0-50.

 

If not Power Query, is there any other way to do it?

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 893

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 482

Last 30 days Overall leaderboard