web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Update a variable in a...
Power Apps
Answered

Update a variable in app 1, from app 2.

(0) ShareShare
ReportReport
Posted on by 16

Hey Brain Squad!

 

I made a dope flashy cash bash drawing app, uses shuffle to randomly draw tickets and update the list live.   However, the cash bash planning team is worried that people will think a digital drawing system could be rigged and wants to still use the bingo ball drawing system they used in the past, but they want a way to type the number drawn in another screen or even a phone app that will update the drawn number so we still have the cool confetti gif/ fanfare sound fun that the app I made brings.   

 

Is it possible that I can update variables on the app that will be displayed on the big screen, with a second power app ran on someone's phone?    

Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,785 Super User 2026 Season 1 on at

    Hi @MrCrow 

    Variables provide in-memory storage of values are scoped at a per-app/per-session level. Therefore, it is not possible to update a variable in app 1 from app 2.

    As a workaround, you could save a value to a data store (such as SharePoint) from app 1. In app 2, you can create a timer control that polls for changes in the data store.

  • MrCrow Profile Picture
    16 on at

    Thanks!   How exactly would I create the timer control that polls for data changes?   That seems like a pretty good solution! 

  • MrCrow Profile Picture
    16 on at

    For everyone curious!   

     

    I made a 10 second timer, and on the timer end I added this:

     

    Refresh('list');
    Set(VarDrawCountNew,Max('list','Order drawn'));
    If(VarDrawCount<VarDrawCountNew,Select(Draw))
     
    The Select(Draw) just used the button i had originally set up, and I just adjusted the clearcollect to get the number typed in the app instead of randomly selecting a row itself.   
    So, this timer will refresh the sharepoint list every 10 seconds, and if the highest number in the order drawn column is higher than the current variable of order drawn it will run the draw animations and the winner/loser.   

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard