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 / Look up on PowerApps l...
Power Apps
Answered

Look up on PowerApps like List SPOnline

(0) ShareShare
ReportReport
Posted on by 2

Hello Guys,

 

I Created a list with look up and dropdown, but dosen't work with PowerApps.

In the liston  Sharepoint Online, i used Web Parts function and worked

 

For exemple:

Dropdown ONE: "1, 2, 3"
Dropdown TWO: "abc, def, ghi"

 

If i Selected Value 1, return "ABC"

If i Selected Value 2 returr "DEF" 

And go on.

 

It's working perfect on SPOnline, but i want to work on the PowerApps.

 

Someone can help me how to do?

 

 

List.jpg
list2.jpg
List3.jpg
Categories:
  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @MarinsBertoldi 

    I don't know much of anything about the SPOnline webpart but I will attempt to answer your question.

     

    For example:
    
    Dropdown ONE: "1, 2, 3"
    Dropdown TWO: "abc, def, ghi"
    If i Selected Value 1, return "ABC"
    If i Selected Value 2 returr "DEF" 
    And go on.
    
    It's working perfect on SPOnline, but i want to work on the PowerApps. 
    Someone can help me how to do?

     

    Mini-Tutorial

     

    Suppose you create the following collection with key-value pairs.  Put this code within the OnSelect property of a button.

     

    ClearCollection(myCollection,{key:1, value:"ABC"},{key:2, value:"DEF"},{key:3, value:"GHI"})

     

    Click the button.

     

    Now create a new ComboBox.  Put the following code into the button properties below

     

    Items: myCollection
    DisplayFields: ["value"]
    AllowMultipleSelection: False

     

    Finally, create a label.  Put this code in the Text property of the label.

     

    LookUp(myCollection,key=ComboBox1.Selected.key,value)

     

    Now go ahead and set the dropdown to

     

    1

    The result shown in the label will be

     

    ABC

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard