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
mogulman
Impactful Individual
Impactful Individual

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.
mogulman
Impactful Individual
Impactful Individual

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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (1,498)