cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mogulman
Impactful Individual
Impactful Individual

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.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,578)