cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ZaneZ
Level: Powered On

Gallery filter using SharePoint lookup

Hello!

Client is using SharePoint list to maintain information about products (Product Catalog). SharePoint item form is customized using PowerApp (Product Card).
There is another SharePoint list Q&A with lookup column ProductSKULookup from Product Catalog list.

 

PowerApp has two screens - 1) Product Card 2) Q&A

Product Card screen has SharePoint Integration control wich contain text field ProductSKU.
Q&A screen has Gallery control with data source from Q&A SharePoint list.

 

What would be the formula to filter the Q&A Gallery control so that it show only Q&A related to the selected Product?

 

Tried formula Filter(QA, DataCardValue6.Text in ProductSKULookup) and it retrieves error Invalid argument type. Cannot use Record values in this context.

I did get the result using text column in the Q&A list instead of lookup column and using formula Filter(QA, DataCardValue6.Text in ProductSKUText). It is important to have the ProductSKU as lookup column in the Q&A list instead of a text, moving forward. That is the reason I am asking for your help.

Hope we can figure it out.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Gallery filter using SharePoint lookup

Hi @ZaneZ

Try 

Filter(QA, DataCardValue6.Text in ProductSKULookup.Value)

 

View solution in original post

1 REPLY 1
Super User
Super User

Re: Gallery filter using SharePoint lookup

Hi @ZaneZ

Try 

Filter(QA, DataCardValue6.Text in ProductSKULookup.Value)

 

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,198)