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 / How to properly displa...
Power Apps
Answered

How to properly display data in form

(0) ShareShare
ReportReport
Posted on by 18

Hello everyone,

 

I am using a Gallery and a Data Table to display information from an Excel source.

 

For my Gallery, I am using the following: 

Moonshine_0-1652362073602.png

 

This displays me all entries from the column "Assigned to" while deleting all duplicates, which is perfect.

 

For my Data Table, I use: 

Moonshine_1-1652362188877.png

Where I take a certain column, I want to display. This then gives me all entries from the specific column, which is connected to the "Assigned to" column.

 

Moonshine_2-1652362547788.png

The result is, that I select "Assinged to" from the Gallery list on the left and get all assets, which are connected to this user ('Assigned to = User name).

 

Now I want to populate a form with ALL the data from the "Assigned to", not only one column. For that, I create a form, add all fields and use Gallery.Selected but it is not working because of the Distinct method I used. When I remove the Distinct I can populate the form with all the information from the selected user. Any idea how I can solve this or what other method I should use? I am kinda lost. 

 

Thanks in advance!

 

Categories:
I have the same question (0)
  • AnthonyD Profile Picture
    559 on at

    Try Below:

     

    Instead of referring the gallery.Selected.Result, make it a lookup.

     

    Fitler(Assests, 'Assigned To'= LookUp(<Your Datasource>,<Your Column Name>=gallery.Selected.Result))

  • Moonshine Profile Picture
    18 on at

    Hello, where exactly, do you mean in the Form?

  • Verified answer
    AnthonyD Profile Picture
    559 on at

    Yes,

     

    Instead of saying Gallery.Selected.Result as your Form Item Property, do a lookup on your table where your record that you wish to display in the form lives in by the Gallery.Selected.Result.

    If your Gallery.Selected.Result would be a company for example. Your form datasource would be Companys and your Item property would be Lookup(companys,companyID =Gallery.Selected.ID)

  • Moonshine Profile Picture
    18 on at

    It worked, thank you so much!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard