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 / Hide pop-up after laun...
Power Apps
Unanswered

Hide pop-up after launching the app 3x

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello. My app has a pop-up screen that appears when users launch the app. This pop-up screen should only appear 3x after opening the app.

 

I hope you can help how I can do this function. Thank you.

Categories:
  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 
    You can use a global variable and a OnStart function to hide a pop-up after it has been launched 3 times but this only start counting 3x times while app is lunched not aware if that other one is possible. Here an example
    Add this OnStart 

    Set(x,x+1)


    Now on pop-up Visible 

    If(x < 3, true, false)

     

    If function to check the value of the x variable. If the value is less than 3, set the Visible property to true, otherwise set it to false, this will hide the pop-up after it has been launched 3 times.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, Ramole. Thank you very much for your help. I have a follow-up question to make this formula work.

     

    • The pop-up screen will show once the user launches the app. That is why I currently have this formula in the OnStart function.

      Set(variable,true)
    • Question: How can I incorporate the formula Set (x, x+1) if that's the case?

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello Ramole. I tried using the formula you provided but it's not working on my end. 😞

    Note:

    • The pop-up screen will show once the user launches the app. That is why I currently have this formula in the OnStart function.

      Set(variable,true)
    • Question: How can I incorporate the formula Set (x, x+1) if that's the case?

     

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 
    When you start the app the variable should count number of times the popup shown otherwise if more than 3x shown it will stop the popup. 
    I don't know how you want the popup to be shown, do you want the popup to be shown each time the user visits screen? that case use the variable OnVisible of the screen and the popup will be shown 1 till 3x after that will stop  till you close and open the app again.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard