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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Im trying to build a s...
Power Apps
Answered

Im trying to build a skill matrix in gallery and want to do filters based on the dropdown selection

(0) ShareShare
ReportReport
Posted on by 101

i have created nested gallery, were in my main gallery items property i used a group by function . In My child gallery items property  i used ThisItem.Data, and able to group the skills and skill level . But if i want to filter this , iam not able to filter it by skill or skill level.

 

Filter(Sort(GroupBy(AddColumns(Knowledge_matrix,"Email_TRDI",'Person _Name'.Email),"Email_TR","Data"),
SortOrder.Descending),
ThisRecord.Email_TRDI <> Blank(),
StartsWith(
Email_TR,
Name_txt_3.Text)).

 

iam using single sharepoint  list as data source contains all data(email, skill, skill level). am i doing it right or is any other way to group it

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    Hi @karthik26 ,

    Assuming Skill and 'Skill Level' are fields in your data source, they should be present in Data and therefore available in your sub-gallery. You should be able to have the Items of this sub-gallery filtered by those two fields

    Filter(
     Data,
     Skill = YourChosenValue1 & 
     'Skill Level' = YourChosenValue2
    )

    or do the parent like this

    Sort(
     Filter(
     GroupBy(
     AddColumns(
     Knowledge_matrix,
     "Email_TRDI",
     'Person _Name'.Email
     ),
     "Email_TR",
     "Data"
     ),
     Skill = xxxxxx &&
     'Skill Level' = xxxx &&
     Email_TRDI <> Blank() &&
     StartsWith(
     Email_TR,
     Name_txt_3.Text
     )
     ),
     SortOrder.Descending
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

     

     

  • karthik26 Profile Picture
    101 on at

    In parent,  skill and skill level is not recognising, because we grouped by email

    karthik26_0-1691044610893.png

    2. In sub gallery the formula works, but while filtering the main gallery shows empty value is not filtering

    karthik26_1-1691044876639.png

     

    i want to hide main gallery mail id if sub gallery values is blank

  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    @karthik26 ,

    Did you see the second code I posted - I filtered before the GroupBy

  • karthik26 Profile Picture
    101 on at

    Yes , i tried using the formula

    Sort(
    Filter(
    GroupBy(
    AddColumns(
    Knowledge_matrix,
    "Email_TRDI",
    'Person _Name'.Email
    ),
    "Email_TRDI",
    "Data"
    ),
    Email_TRDI <> Blank(),
    StartsWith(
    ThisRecord.Email_TRDI,
    Name_txt_3.Text
    ),Skill = Drp_tool_1.Selected.Value || IsBlank(Drp_tool_1.Selected.Value),
    Skill_Level.Value = Drp_Skilllevel_1.Selected.Value || IsBlank(Drp_Skilllevel_1.Selected)
    ),
    SortOrder.Descending
    )

     

    But getting this error

     

    karthik26_1-1691048363774.png

     

    karthik26_2-1691048492969.png

     

     

     

  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    @karthik26 ,

    Second attempt - first one is incorrect

    Sort(
     GroupBy(
     AddColumns(
     Filter(
     Knowledge_matrix,
    			Len(Drp_tool_1.Selected.Value) = 0 || Skill = Drp_tool_1.Selected.Value,
    			Len(Drp_Skilllevel_1.Selected.Value) = 0 || 'Skill Level'.Value = Drp_Skilllevel_1.Selected.Value,
     Len(Email_TRDI) > 0,
     StartsWith(
     Email_TRDI,
     Name_txt_3.Text
     )
     )
     "Email_TRDI",
     'Person _Name'.Email
     ),
     "Email_TRDI",
     "Data"
     ),
     "Email_TRDI",
     SortOrder.Descending
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • karthik26 Profile Picture
    101 on at

    Hi ,
    if i include email in filter code is not working,execpt email it is working.

    This is working

    karthik26_0-1691056098408.png

    If i include email filter

    karthik26_1-1691056257587.png

    Below error coming up

    karthik26_2-1691056344035.png

     

  • Verified answer
    WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    @karthik26 ,

    Ver #3 below - you might try and spot the issue - it will help you in the future

    Sort(
     GroupBy(
     Filter(
     AddColumns(
     Knowledge_matrix,
     "Email_TRDI",
     'Person _Name'.Email
     ),
     Len(Drp_tool_1.Selected.Value) = 0 || Skill = Drp_tool_1.Selected.Value,
     Len(Drp_Skilllevel_1.Selected.Value) = 0 || 'Skill Level'.Value = Drp_Skilllevel_1.Selected.Value,
     Len(Email_TRDI) > 0,
     StartsWith(
     Email_TRDI,
     Name_txt_3.Text
     )
     ),
     "Email_TRDI",
     "Data"
     ),
     "Email_TRDI",
     SortOrder.Descending
    )
  • karthik26 Profile Picture
    101 on at

    Thanks for your support. Works fine

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard