Does anyone know how to attach an SQL query to execute OnSelect with ANY PowerApps control that doesn't involve the 'Execute a SQL query (v2)' step in Power Automate?
I need a button control in my app to execute a SQL query that averages integer entries collective over time. The average will change frequently so this SQL query will need to be executed on each new entry, which brought me to using a Power Automate flow that simply triggers the query.
I've now aware that the 'Execute a SQL query (v2)' step in Power Automate does not support on-premise gateways, which I am bound to use by company IT rules. Therefore using Power Automate feels dead in the water.

Thank you in advance!