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 filter basend o...
Power Apps
Answered

How to filter basend on an other list

(0) ShareShare
ReportReport
Posted on by 55

Hello,

 

i have a sharepointlist (workers):

 

id=1, title=Peter

id=2, title=manuel

 

And then an other sharepointlist (tickets):

 

id=1, title=case xxx, worker=1

id=2, title=case yyy, worker=2

id=3, title=case zzz, worker=1

 

Booth are connected as Dataconnection.

In my App, i have an dropdownbox mit peter and manuel (worker.title)

Now i want a gallery, based on worker peter (worker.id=1) if i select him in dropdown box

 

What i need to insert in onselected for the gallery?!?

 

Thanks a lot for your help.

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @pleibling 

    Assuming your dropdown has an Items property of : workers

    Your Gallery Items property should have the following formula:

      Filter(tickets, worker=yourDropdown.Selected.id)

     

    This should give you what you are looking for.

     

    I hope this is helpful for you.

  • pleibling Profile Picture
    55 on at

    Hello Randy,

     

    thanks for your fast help. But i get no results - i think the error is, that i compare the wrong Fields. I think in the Dropdown is Peter and i compare peter with 1, not with the name - cause autocomplete makes worker to worker.title .

     

    Is it possible to see the "raw" data in Sharepointlist (if the field worker has 1 or peter and so on)?

     

    Many Thanks. 

  • Verified answer
    pleibling Profile Picture
    55 on at

    Ok, i found the error - i has in the Sharepointlist Tickets only in workers the Title and not the ID, i select the ID - and now it work. Thanks a lot for your help - you made my Day :).

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard