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 / Not getting all data w...
Power Apps
Unanswered

Not getting all data when setting global variable to record

(0) ShareShare
ReportReport
Posted on by 315

Hi!
I have an app where I use the following formula to gather a users settings:

Set(var_mySettings,LookUp(Settings,UserMail = User().Email));

If this is an existing user, it is done in the OnStart. This works well and it gets alle the different values that is needed.

 

On the other hand, if I use the exact same code on a button, to gather settings inside the app, it only gathers a few values (EMAIL and the ID). This is needed if it is a new user, or of an existing user changes some settings.

 

Any idea on why this is?

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,930 Most Valuable Professional on at

    Hi @mrstian89 ,

    I assume Settings is a data source (list) with all the fields you are needing and a field UserMail containing the email of the user

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 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard