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 / Lookup Field not displ...
Power Apps
Answered

Lookup Field not displaying on display form

(0) ShareShare
ReportReport
Posted on by 43

Hello, I have a complex dropdown field that gets its information based on another box. This works fine, however, after I submit the form and from my Gallery, if I use either Select(Parent) or even Set(variable.ThisItem.ID) The complex field will not be populated on on display form. This also happens on any other complex lookup field that retrieves it data from a separate lookup source. 

This is the main screen                                                         Items formula:

mrroberts2u_0-1657559057570.png   Filter(Locations, Facility.Value = DataCardValue4.Selected.Value)

This is the screen shown after selecting from the Gallery   Items formula that I have used on the review screen. 

mrroberts2u_1-1657559605200.png  //First(Filter('Controlled Substance Inspection Intake Form',ID=varRecord))
                                                                                               LookUp('Controlled Substance Inspection Intake Form',ID=varRecord)

 

 

Categories:
  • WarrenBelz Profile Picture
    156,956 Most Valuable Professional on at

    Hi @mrroberts2u ,

    Firstly I am assuming that the rest of the record displays on the form (if not you have another issue). So I understand clearly, what type of control are you displaying the value in and does it get written properly to the data source and if so, what type of field is it being written to. Lastly, what is the formula (in Text please_

  • mrroberts2u Profile Picture
    43 on at

    Good afternoon Warren, sorry about the delay, I just returned to the office. 
    My app is a multi screen app that populates the master screen. All the fields write to the SharePoint list. When I go to review the form on my view only form. The Location field that is a combobox doesn't populate the previously entered field. 
    For background: The 1st input screen(scrMain) has the two comboboxes.

    Facility: Items=Choices([@source].Facility (DataCardValue4) and then

    Locations: Items=Filter(Locations, Facility.Value = DataCardValue4.Selected.Value).

    When I go to the scrReview from my scrGallery everything populates in the form except the locations field (which is a combobox. The settings for this; Default: Parent.Default, Items: Filter(Locations, Title = DataCardValue24_4.Selected.Value). 

    I have tried to hide the combobox and insert a label with the following Text: Parent.Default but the result =Blank

    Not sure what else that I can do so that this field will show the data on the review screen

     

  • WarrenBelz Profile Picture
    156,956 Most Valuable Professional on at

    Hi @mrroberts2u ,

    I assume the fields in the first paragraph are not relevant to your question in the second as that are off different controls. You have given me the Items of a Combo Box

    Filter(
     Locations, 
     Title = DataCardValue24_4.Selected.Value
    )

    but not the field it is displaying, nor the field (name and type) in the data source it is reading from / writing to. Can you please provide these as well as the DefaultSelectedItems of the Combo Box.

     

     

     

  • WarrenBelz Profile Picture
    156,956 Most Valuable Professional on at

    Hi @mrroberts2u ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • mrroberts2u Profile Picture
    43 on at

    As of Friday evening, I still did not have a solution, but I was informed that an issue might be becuase of the way my sharepoint list is set up. The Locations field is set as a lookup. 

    In regards to your previous question, the fields that we are looking at formulas for the Locations datacard are as follows:

    Card:Location 

       DataField: "Locations:

    Combobox: 

       Items: Filter(Locations, Title = DataCardValue24_4.Selected.Value)

       DefaultSelectedItems: [Parent.Default]

     

    I hope this helps you in helping me getting a solution

       

       

        

      

  • WarrenBelz Profile Picture
    156,956 Most Valuable Professional on at

    Hi @mrroberts2u ,

    I also forgot to ask the field name displayed in the combo box selections - using xxxx as this field, the DefaultSeletedItems for the Combo Box should be

    {xxxx: ThisItem.Locations}

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • mrroberts2u Profile Picture
    43 on at

    Okay, I did change this, but to no avail it didnt change the issue. 

    I have made a new list for the app and and made the Locations lookup column in teh SPO list a single line text to see if I can "workaround the issue" 

  • Verified answer
    mrroberts2u Profile Picture
    43 on at

    The issue has been resolved. My error was in teh SharePoint List settings. The location field was set as a lookup and for whatever reason and unbeknowst to me, PowerApps doesnt always work well Lookup Columns due to (from what I have heard) JSON formatting. 

    To correct this, I made new columns and formatted them as single line of text. Then I added the new data cards to my app and changed teh control from edit text to allowed values. Once this was done, all fields wrote to the list as expected. 

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

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard