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 on lookup fields
Power Apps
Unanswered

Filter on lookup fields

(0) ShareShare
ReportReport
Posted on by 10

Dear all,

 

I'm struggling with a filtering problem for some time so I hope someone can help me out in the right direction!

 

I have created 3 sharepoint lists:

 

COUNTRY

CountryCode

Name

 

CITY

CityCode

Name

Country (lookup to country)

 

HOUSE

HouseNr

Name

City (lookup to city)

 

PowerApp issue:

In my first screen I have a gallery where I select the COUNTRY and navigate to a 2nd screen.

In the second screen now I want to show a gallery with all houses that belong to that selected country.

 

So this is what I'm trying to do, but it gives me errors. 

Filter(House, City.Value in Filter(City, Country.Value = CountryGallery.Selected.CountryCode).CityCode)

 

CountryGallery is my country selector on the first screen.

 

Any ideas? Really appreciate your help!

 

Kind Regards

 

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,989 Moderator on at

    @siegfried 

    You said that the formula you wrote gives you errors.  What do you mean by errors?  Is there an error message?  Is your formula underlined in red?  Please take a screenshot of any error messages you received and post it here.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Verified answer
    siegfried Profile Picture
    10 on at

    Dear, thanks for the quick reaction. By describing the error I found the reason for my problem (never use 'Table' as the name of a sharepoint list).

     

    Kind Regards

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