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 / Performance issues whi...
Power Apps
Unanswered

Performance issues while connected to On Premise SQL via Gateway

(0) ShareShare
ReportReport
Posted on by 40

Hi All,

 

We have developed Power Apps which connects to On-Premise SQL via Gateway.

 

-There is one table with 300+ records with 60 columns out of which only around 20 columns needs to be displayed in the Data Table

-There are 5 columns which we use to filter the data, for that separate dropdowns are present at the top

-Currently it takes 15 seconds to come to home screen, even after using Show Columns formula to display those 20 columns.

-Access control of currently logged in user is managed in SQL tables, which is checked each time Data Table loads.

-Few collections are created on screen load of Home Screen which are used in dropdowns of other screens.

 

Please suggest pointers for performance improvements.

 

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @SidhharthM :

    Usually this problem indicates that your GateWay and SSMS needs to be updated.

    1\Update GateWay and SSMS

    2\Restart the GateWay

    3\Reset the connection

     

    1.JPG

     

    I think this link will help you a lot:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/PowerApps-slow-performance-after-disable-TLS-1-0-registry-key-on/td-p/454468

    In addition,maybe you can try to use a view as a data source to reduce the burden of PowerApps (first preprocess the data in the data source and then load it into PowerApps)

    Step1\Create a view in your data base

     

     

    CREATE VIEW NewView AS /*NewView is the name of my custom view*/
    SELECT column1,column2,column3,column4,column5
    FROM yourtable

     

     

    Step2\Add the view as the data source

    2.JPG

    Best Regards,

    Bof

  • SidhharthM Profile Picture
    40 on at

    We are trying to see if this is actual gateway issue by doing some plain bulk operation and observe the timings. We tried few optimizations at code level in Power Apps which helped a lot.
    There is best pattern and practices for coding in Power Apps published by MS:

    https://powerapps.microsoft.com/en-us/blog/powerapps-canvas-app-coding-standards-and-guidelines/

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 421 Most Valuable Professional

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard