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 / Display ComboBox Value...
Power Apps
Answered

Display ComboBox Value Using LookUp Formula?

(0) ShareShare
ReportReport
Posted on by 829

Hi Folks -

 

I have a DataCard on my EditForm that also has a ComboBox. The ComboBox is populated with Alias values of data element. As you know, the business user only knows Aliases vs the unique ID. For instance, Massachusetts is the Alias but the financial system recognizes it as 0987.

 

I have placed the CombBox over this field to "trick" the user.

 

Then, based on the CombBox selection, I have a LookUp on my Value card that uses the ComboBox selection  (i.e. Massachusetts) to return the unique id from a table (i.e. 0987) which is what is sent to th undelrying SP List. Therefore,  if/when the user goes back to the form and wants to edit this field, I need to display what is in the SP List. But what it's the SP List isn't in the ComboBox as explain above.

 

Essentially, I need to do the reverse logic. Based on the SP List value, I"ll need to lookup it's corresponding "Alias" to return the value that is available in the ComboBox list of values.

 

How do I acheieve this?

 

Thank you!

Categories:
I have the same question (0)
  • Verified answer
    v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @simms7400 ,

     

    To achieve this, in SharePoint list, please have 2 sharepoint lists as below:

    List1

    Alias_ID           Alias

    0987                Massachusetts

     

    List2

    Title         Lookup_Alias (lookup column which source is the "Alias" column of List1)  

     

    When you create this Lookup_Alias column, also check the checkbox for Alias_ID, Sharepoint will automantically add the additional field called "Lookup_Alias:Alias_ID". This field will show the ID instead of the Alias value. But when you create an auto-generated app with List2, users would be able to pick value with Alias for Lookup_Alias in the edit form.

     

    Capture.JPG

     

     

    If you do not want to show "Lookup_Alias" column and only want to see the "Lookup_Alias:Alias_ID" in List2, you can hide the "Lookup_Alias" column by selecting "Show/hide columns":

    1.JPG

    Regards,

    Mona

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard