Announcements
Hi all,
I am new to Power Apps and am building a canvas app to collect metrics from users using a SharePoint list to store the data. I am trying to auto-populate a text field (titled "Program") based on the user that is logged into the app/Officer365. For example: When the program manager for Program A loads the form, the "Program" text field auto-populates and displays the name of that manager's program.In a second SharePoint list I have all my programs listed (Program A, Program B, Program C, and Program D) in a text column titled "Programs" and the manager in another person/group column titled "managers" that I am using to reference the program manager for each program. Any help would be appreciated. Thanks.
as i understood these programs must have different managers assigned ,so u can use Lookup to populate your text field based on the current user of the application just use formulaLookUp(ProgramTable,managers.DisplayName=User().FullName).Programs in your text field
Thanks @ali_ruman!
The formula you provided got me on the right track and helped remove the errors I was receiving. The formula however was not populating the text field. I made one small change and ended up with the following:LookUp(ProgramTable,'managers'.DisplayName=Officer365Users.MyProfile().DisplayName).Programs
Thanks again for the help.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 392 Most Valuable Professional
11manish 181 Super User 2026 Season 2
MS.Ragavendar 112 Super User 2026 Season 2