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 / Show Lookup field resu...
Power Apps
Unanswered

Show Lookup field result in Form

(0) ShareShare
ReportReport
Posted on by 35

Hi, I'm new with PowerApps and I have this doubt, thanks in advance.

 

The app works witrh Sharepoint list source and I have some lookup fields. For exemple I have this field called "Field" and when I save one form register there is another related field that is saved, in that case is named "Obra:Obra".

 

1.png

In PowerApps, I want that related field shows in the moment the info related with the first selection field (Obra), but this field is blank:

 

2.png

Código Obra = Obra (in Sharepoint)

Obra = Obra.Obra (in Sharepoint)

 

If I send the form, the info is saved (like if I do it in Sharepoint). But I need to show also this info in the form in the moment when the first lookup field is selected.

 

Thanks!

Categories:
  • victorcp Profile Picture
    2,350 Moderator on at

    Hi,

    In this case you have to edit the default item of Obra card to look into the 'Obra' list to get the 'Obra.Obra'.

     

    Assuming the Obra list is called 'Obras' it will be something like this:

    LookUp(Obras, ID = combobox.Selected.Id).Obra

     

    Please let me know if you have any question

    (se não ficou claro podemos falar em PT)

  • rbarpas Profile Picture
    35 on at

    You mean in "DefaultSelectedItems"?

     

    The LookUp field is this ("Parte Diario" is the main list, and "Obras" is where de LookUp looks for)

     

    4.png

     

     

  • victorcp Profile Picture
    2,350 Moderator on at

    No, what I meant is to get the obra's name you have to search for it in the Obras list, so you have to LookUp for it using the 'Codigo Obra' Item, like this:

    victorcp_1-1673524471776.png

    LookUp(Obras,ID = DataCardValue4.Selected.Id)

     

  • rbarpas Profile Picture
    35 on at

    Ah ok, I understand, but now it's showing an error.

     

    222.png

     

    Thanls for your time.

  • victorcp Profile Picture
    2,350 Moderator on at

    You set the combobox default instead of the card default

    victorcp_1-1673527279719.png

     

  • rbarpas Profile Picture
    35 on at

    Ok, I changed the Default in combobox but still showing error in the formula.

     

    sdfsdf.png

  • victorcp Profile Picture
    2,350 Moderator on at

    As you are using the spanish version it should be ; instead of ,

     

     

    LookUp(Obras; ID = DataCardValue4.Selected.Id)

     

  • rbarpas Profile Picture
    35 on at

    Yes, that's the key, in Spain is ; 

    I edited and now the error doesn't appear, but when I check the form when I select a value in "Obra",, the related field "Obra:Obra" still in blank always.

     

    aa1.pngaa2.png

     

  • victorcp Profile Picture
    2,350 Moderator on at

    did you changed the default of the combobox (blue one)?

    victorcp_0-1673534184010.png

     

    If so please set it Parent.Default

     

    It should work

  • rbarpas Profile Picture
    35 on at

    Yes I deleted the fields and added again, because had made too many changes.

     

    Now, DataCardValue353 is the LookUp field

    r1.png

     

    And, in the related field, in Default, the LookUp points to DataCardValue353

    r2.png

     

    But, if I play it, and select "Obra", "Obra:Obra", still blank:

     

    r3.png

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard