Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Controls running on other screens

(0) ShareShare
ReportReport
Posted on by 345

Afternoon all,

 

So I've been running a monitor on my app. I initially noticed on returning to my home screen (Screen 1) that a gallery on another screen (Screen 2) that is connected direct to the data source (and is filtered, with add column functions and the like) is running while my app is going through the normal home page operations of creating collections, verifying users and so on and so forth. 

 

I remedied this quite easily by making it so that the OnVisible property for Screen 2 creates a collection from the datasource, and pre filters it for the gallery. This stopped these operations from appearing in the monitor when going back to Screen 1.

 

However, I've also noticed that I have controls on a different screen (Screen 3) that run some calculations based on what a user types into a value box. These calculations use a lookup to a collection I created from a sharepoint list, and which is collected on the loading on Screen 1. The performance hit of these is so miniscule as to be unnoticable, but I am intrigued as to why it's running. And as with the gallery on Screen 2, I was wondering if it is possible to prevent anything taking place on any other screen until that screen is loaded? 

 

I want to add that none of these controls or galleries reference any controls on any other screens. They were either connected to the data sources directly until I used collections, or have always just used a lookup against a collection.

 

Hope you can help!

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at
    Re: Controls running on other screens

    @EpicTriffid 

    Other than doing what you are already doing, no sorry I don't know of any.

  • EpicTriffid Profile Picture
    345 on at
    Re: Controls running on other screens

    Hi @Drrickryp 

    Ah, that does make sense, but sadly this is a production app and I'm wary of using an experimental feature in case it gets removed and then breaks the app. Is there any other way of achieving this?

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at
    Re: Controls running on other screens

    @EpicTriffid

    Go to settings and activate Named Formulas, go to app. Formulas and replace collections and global variables with formulas. These are used as needed in the app. 

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard