web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter Form from Galle...
Power Apps
Unanswered

Filter Form from Gallery if datafield value appears in a particular group in collection

(0) ShareShare
ReportReport
Posted on by 27

I am a newbie, so be gentle! 

I am creating a Skills Matrix. At the moment, I have three SharePoint lists as data sources:

 

  1. SM-Scoring - Contains two columns: Score and Score Description (this is standalone and just feeds a dropdown on a form and a label explaining what the selected score means
  2. SM-Skills - contains four columns
    • Skill Ref (entries in the format of Skill01, Skill02 and so on)
    • Skill (a short name for the particular skill)
    • Description (a more verbose description of what we mean by the skill)
    • Category (what category does the skill fall into)
  3. SM-Capture - contains a number of columns to capture information about the person completing the assessment and what score they have given themselves for each skill. The columns capturing the scores for the skill have been named using the same Skill Ref value that appears in the SM-Skills list

The way that I have constructed the app is that there is a screen for each of the different Skills Categories and the forms on those screens only contain the fields for the skills related to that particular category - this is working fine and the data is being saved back to the SM-Capture list once all of the questions for each category have been answered.

 

To allow people to view their answers, I have created:

  • a 'View Answers' screen
  • Created a collection based on the SM-Skills list to group the skills by the Skill Category (called SkillsGroup)
  • Used the SkillsGroup collection as the data source for a gallery on the View Answers screen, this gives me a gallery item per Skill Category
  • Inserted a form, with the SM-Capture list as its data source. This is currently displaying all of the columns from that table (less the data cards relating to the person's identity, manager and so on, which I have deleted). 

Where I am now struggling is how to get the form filtered so that when a gallery item is selected, the only form fields that are visible are those where the datafield value (which is the Skill Ref) appears in the list for the Category group

 

For example, part of the collection looks like:

 

Grouping (Category)SkillRef
LeadershipSkill01
 Skill02
 Skill04
OrganisationalSkill05
 Skill06
  

 

So, I think my question is in two parts:

 

  • If it is possible, how do I construct a statement which, when a user clicks the gallery entry, the form fields with datafield values that are equal to the Skills Ref entries for that particular Category (as appears in the SkillsGroup collection) are the only ones which are displayed?
  • If it is not possible, is there a more appropriate way for me to allow users to view their answers grouped by category?

Thanks - my mind is fried!

N

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @barefaced ,

     

    Can you please share more details about your 3 lists? Please give us the column names included and the column types. And how these 3 lists related? Like are there any lookup fields? 

     

    You can also explain with sample data and how you want the data to show inside PowerApps.

     

    Do mask sensitive data before uploading.

     

    Regards,

    Mona

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard