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 / DataTable to show only...
Power Apps
Unanswered

DataTable to show only Records of item Selected

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I have a form the shows data from 2 x Sharepoint lists

 

List1 with a Record called Reference  (1 x Record in this table)

List 2 with Record Called GetRef ( Many Records relating to table 1.) (This is Same ID just one to many)

 

I have a PowerApps form on which my Reference from List1is displayed.  Called RTReference

 

And a I have a Display table in which I would like to display all the relating records from Tbl2 called GetRef

 

On the Table to get the data in "Items"I have tried 

 

Filter(Tble2,GetRef)= "RTRefernce" and various other ways of displaying the data with no avail. 

 

Any suggestion would be appreciated

 

 

 

 

 

 

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

    Hi @Sn3l ,

    Firstly you need to define which Reference from Table 1 you are matching on - example if the Table1 record is selected from a Gallery, it would be 

    Filter(
     Table2,
     GetRef = GalleryName.Selected.Reference
    )

     

    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

     

     

  • Sn3l Profile Picture
    on at

    Hi @WarrenBelz 

    Thank you for the prompt response. 

     

    I am not getting the Table 1 data from a Gallery.  It is only a reference field that is on my form. 

     

    If I go.

     

    Filter(Table2, GetRef = FormName.Selected.Reference )  The "selected option: does not function.

     

     

     

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

    @Sn3l ,

    Correct - Forms do not have a Selected as they contain only one record. You simply need the Reference - if it on the Form (you can hide it if you want) in a Text Box, then

    Filter(
     Table2,
     GetRef = Value(TextBoxName.Text)
    )

     

    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

     

     

  • Sn3l Profile Picture
    on at

    I seem to be having some troubles today. 

     

    Sn3l_0-1665982880098.png

     

    Reference Field sit on a from called (Requested travel)

     

    Tbl2 is called Suggested Travel. 

     

    With the above I get the error "Name isn't valid. 'text' isn't recognized"

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

    @Sn3l ,

    Instead of Reference, you need the name of the Text Box that the Reference field is contained in the Form. You simply need to establish the Reference value in the 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

  • Sn3l Profile Picture
    on at

    Hi Warren. 

     

    My field is actually called Reference. 

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard