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 Label based on ...
Power Apps
Unanswered

Update Label based on App Onstart or ComboBox

(0) ShareShare
ReportReport
Posted on by 1,512

I have a label on my start screen that when the user logs in it lookup in a list there desk location, this works well, however I now need to add the ability to have that information update if the supervisor who is logged in puts in a different employees name in a combo box and I want it to update the information in the label

 

I have this on the label now

LookUp(mapPins,varCurrentUserName='Current Occupant'.DisplayName).Location & " - " 

my combobox is called cmb_Employee

 

Is this possible?

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

    Hi @Dorinda 

     

    Set the text property of the label control to

    If(
     IsBlank(cmb_Employee.Selected),
     LookUp(mapPins,varCurrentUserName='Current Occupant'.DisplayName).Location & "-",
     LookUp(mapPins,cmb_Employee.Selected.DisplayName ='Current Occupant'.DisplayName).Location & "-"
    )

     


    Thanks, Stalin (Microsoft MVP)
    Blog - Learn To Illuminate Blog
    YouTube - Learn To Illuminate Videos

     

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 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard