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 / Filter Many to Many
Power Apps
Unanswered

Filter Many to Many

(0) ShareShare
ReportReport
Posted on by 1,142

Thank you for taking the time to read my question.

 

I have 2 tables related as n:n

 

'Scheduler Tasks'

'Scheduler Resources'

 

I want to show all the tasks related to a resource. I select a resource from a drop down box.

 

So far I can't seem to accomplish this. I thought I should be able to use dot notation to refer to the Resources...

 

'Scheduler Tasks'.'Scheduler Resources'.Name but this is not the case. I'm also not able to return the GUID which is what I think I'm supposed to be doing.

 

Here is an example of what I'm trying

 

With({tRez:LookUp('Scheduler Resources',Name = cboResources.Selected.tnca_name,'Scheduler Resource')},
Filter('Scheduler Tasks','Scheduler Tasks'.*Thought I would be able to select Resources here* = tRez)
)

 

 

Any help is greatly appreciated.

 

Thanks

 

Categories:
I have the same question (0)
  • Gochix Profile Picture
    1,935 Moderator on at

    @iwonder ,

     

    Correct me if I'm wrong. You want to do the following I believe?
    Display all the tasks from 'Scheduler Tasks' where tRez value matches.


    In this case you would need to have a column with the "Scheduler Resource" in "Scheduler Tasks" or any other column where this value is matching.

    With({tRez:LookUp('test1',Name = Dropdown3.Selected.Value,resource)},
    Filter(test2,resource = tRez))


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • iwonder Profile Picture
    1,142 on at

    Hi Gochix.

     

    Thank you very much for your reply.

     

    The tables have a many to many relationship. So I was thinking that there must be a way to filter 'Scheduler Tasks' by a resource as 'Scheduler Resources' is related.

     

    iwonder_0-1714165345511.png

     

    So I think the field is there, I just don't know which one or how to reference it.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard