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 / Cascading Galleries
Power Apps
Unanswered

Cascading Galleries

(0) ShareShare
ReportReport
Posted on by 271

I am building a custom page for a model driven app.

 

I have two tables with a one-to-many relationship: Investor Account > Investor Product.

In Investor Account, my PK is Investor Number - a single line text field.

In Investor Product, I have a lookup field that points to Investor Account; the field is named Investor Account.

 

I have two galleries - see screenshot.

On the left is a gallery for the parent - IAGallery with data from Investor Account table.

On the right is a gallery for the child - IPGallery with data from Investor Product table.

 

I want to select a record from the gallery on the left - IAGallery, and it must filter the records in the gallery on the right - IPGallery.

In the second gallery - IPGallery, for Items, my formula looks like this: 

Filter('Investor Products',IAGallery.Selected.'Investor Number'='Investor Account')

 

The error says I am comparing a text and a record - see screenshot.

 

What am I missing please?

 

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @hildasteyn

    For Gallery2 items: 

    IAGallery.Selected.'Investor Products' 

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @hildasteyn

    For Gallery2 items: 

    IAGallery.Selected.'Investor Products'

    See https://hiredgun.tech/dataverse-relationships/ 

  • Hilda Steyn Profile Picture
    271 on at

    Thank you! You are my hero for today!

  • Hilda Steyn Profile Picture
    271 on at

    May I please ask another question.

    In the second gallery, I am displaying a lookup field (all starting with ZAE) and the name of that field also from the lookup table. 

    Before 'filtering' with the formula you gave me, it displays correctly - see screenshot 1. 

    After filtering it successfully, the other field disappears. 

    Why is this?

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard