cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nvargas
Microsoft
Microsoft

Gallery Filtering

Hi All,

 

I have a SharePoint list that consists of 8 Categories and I would like to filter a gallery to show the Category so that when I click on it it will take me to a form consisting of only items associated with that category. Also if I add items to the SharePoint list in one of those categories or a new category then the form/gallery updates to show that new item. Currently, when I try to do this it just shows me the category the number of times it's in my SharePoint list. I want it to be Category 1, Category 2, ..., Category 8.

 

nvargas_0-1615688004220.png

 

1 REPLY 1
Drrickryp
Super User
Super User

Hi @nvargas 

It sounds like you are describing a one to many relationship. If so, it will be better to have two lists so that you can add new categories and also add items associated with that category. The items list should contain a number that is the id field of the category ideally called categoryid.  To see how to implement the relationship check out my blog post here  https://powerusers.microsoft.com/t5/News-Announcements/Relational-Database-Design-fundamentals-Imple... 

Helpful resources

Announcements
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.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,981)