cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Corleone
Helper III
Helper III

Nested Filter in Galleries linked to father gallery

Hi all,

 

question about filtering a gallery nested within a gallery. 

 

I am using one list and one library on my SharePoint:

 

Library "Defects", where I have:

  • "ItemID" (Single Line of text)

List "Monitorization", where I have:

  • defectID (lookup to column "ItemID" from my "Defects")

 

In my App, my galleries are distributed like this:

- Gallery 1, Father´s gallery -> linked to "Defects"

- Gallery 2, Child´s gallery -> linked to "Monitorization"

 

My objective is: my Gallery 2 to show only the items from "Monitorization" that "defectID" match with "ItemID" from my gallery 1 "Defects".

for that, on Items property:

 

Filter('Monitorization', defectID = ThisItem.ItemID)

 

but ERROR APPEAR => Invalid argument type. Gallery2 .Items

 

Hope make sense.

thanks a lot your time and support! 🙂

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
gabibalaban
Dual Super User
Dual Super User

hi @Corleone ,

If defectID is a lookup column, use:

Filter('Monitorization', defectID.Value = ThisItem.ItemID)

 

Hope it helps !

View solution in original post

1 REPLY 1
gabibalaban
Dual Super User
Dual Super User

hi @Corleone ,

If defectID is a lookup column, use:

Filter('Monitorization', defectID.Value = ThisItem.ItemID)

 

Hope it helps !

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,575)