web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Display multiple value...
Power Apps
Answered

Display multiple value on data card or gallery base on a selection

(0) ShareShare
ReportReport
Posted on by 223

Is it possible to display a multiple related values in a gallery or a form. For example, I have 2 tables in a sharepoint list, List A and B as attached. I am able to display an item base on a dropdown.

I used

LookUp('List A',PrID=ThisItem.ID, Title)

and this displays only DO.123 on a data card. I would like it to display Both DO.123 and DO.211 either on a data card or a gallery since there is a relationship between both list.

 

Thanks.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,117 Most Valuable Professional on at

    Hi @caslasgee ,

    Try Filter instead of LookUp

     

    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

  • caslasgee Profile Picture
    223 on at

    Thanks @WarrenBelz . Do you mean i should replace the lookup function with filter function? Thus

     

    LookUp('List A',PrID=ThisItem.ID, Title)

     

    ???

  • WarrenBelz Profile Picture
    153,117 Most Valuable Professional on at

    @caslasgee ,

    Just replace it

    Filter(
     'List A',
     PrID=ThisItem.ID
    ).Title

     

    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

  • caslasgee Profile Picture
    223 on at

    Hi Warrenbiz, the code needs to be closed. I can see there is 1 open parentheses and 2 closed parentheses.

     

    Thanks.

  • caslasgee Profile Picture
    223 on at

    HI, Any support please?

  • WarrenBelz Profile Picture
    153,117 Most Valuable Professional on at

    @caslasgee ,

    Just a typo - fixed

  • caslasgee Profile Picture
    223 on at

    Thanks, I tried and i still receive same error. Just would like to display it in a gallery. If i put the above code in the list item of the gallery, it tells me Name isn't valid. Thisitem isn't recognized.

     

    Thanks

  • WarrenBelz Profile Picture
    153,117 Most Valuable Professional on at

    @caslasgee ,

    Can you please explain in a bit more detail exactly what you are trying to do here ?

  • caslasgee Profile Picture
    223 on at

    Ok. Like earlier stated, below is my sharepoint list (2 List)

     

    DB_structure.png

     

    I already have an entry page to collect the above information. As seen from the above, there is a relationship between both tables (List A is PrID and List B is ID). What i want is to be able to modify an entry that contains all the field. If i am to use the edit or view form option, It only displays the below.

     

     

    image.png

     

    I would like it to show all its field that is associated to Mr Armal i,e showing both DO.123 and DO.211 with its individual amounts considering the list relationship (PrID and ID).

     

    Or is there another way this can be done?

  • NurSabrina24 Profile Picture
    165 on at

    Try to Filter without the Title column

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard