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 / Global variable set no...
Power Apps
Unanswered

Global variable set not working

(0) ShareShare
ReportReport
Posted on by 13

I have a global variable which i set in the onStart.  I have the options to run the onStart. If i check the value in global variables is correct but when i use the var in code it's value says empty/blank

 

MicrosoftTeams-image (4).png
MicrosoftTeams-image (1).png
Captura.PNG
Categories:
  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @davidcarrasquet ,

     

    What is usually causing this, is using the same name for both Global and Context variables, or a forgotten formula that changes the value without the maker being aware of it. 

     

    The easiest way to troubleshoot is to use the Power Apps studio Search feature to look for signs of any of the above two possible causes.

  • davidcarrasquet Profile Picture
    13 on at

    how do i link the global variable value to the context var value

  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @davidcarrasquet ,

     

    Not sure what you mean with linking Global and Context variables, but the two should not be used with the same name to avoid any issues. 

  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @davidcarrasquet ,

     

    Have you had any joy in resolving this issue? If so, please mark the post that was key to finding the solution by clicking the "Accept as Solution" button.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard