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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,775)