cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
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
Highlighted
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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 94 members 3,761 guests
Please welcome our newest community members: