cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mogulman
Skilled Sharer
Skilled Sharer

Performance Improvement When Starting App

This is an FYI.  I'm working on my first app.  I'm using an On-Premise SQL Server.  I've been for ways to improve performance.  I'm using collections and optimizing views.  I'm using SQL Profiler to check and measure performance.  I found one thing I wasn't expecting.  The Details and Edit screens use Lookups for the Item property.  When the screens load it executes the Lookup even though no Gallery item property is selected.  I have 4 main tables so 8 useless queries.  I added this to avoid the query.

 

If(!IsBlank(varClientID),LookUp('[dbo].[ClientVDT]',ClientID = varClientID))

It only saved me 300ms so not earth shattering.

1 ACCEPTED SOLUTION

Accepted Solutions

I actually read that article in detail before starting my efforts.  He didn't cover the detail I discovered so I thought I would post it.

View solution in original post

2 REPLIES 2
v-micsh-msft
Community Support
Community Support

Thanks for the feedbacks.

Actually Staff Mehdi Slaoui Andaloussi posted a blog talking about this:

Performance considerations with PowerApps

Which shares the query detail when Data (or saying the App) is loading.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I actually read that article in detail before starting my efforts.  He didn't cover the detail I discovered so I thought I would post it.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,858)