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 / Compare two collection...
Power Apps
Answered

Compare two collections and list only no matchin data

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi guys,

sorry if there is an answer to this question, I tried to find but no success.

 

I have two excel tables:

skillset - Filter(skillset,'name id'=Gallery_resources.Selected.id)

idname_idskill typeskill
21DesignUX
51DesignDESIGN

 

skilllist - table to populate the drop down

idskilltypeskill
34DesignDESIGN
48DesignCREATIVE DESIGN
49DesignCREATIVE/CONTENT STRATEGY
52DesignUX
65AppANDROID
72AppPHONEGAP

 

I am creating a function to add skill in the skillset table.

I want to populate a Drop Down only with skills not added in the skillset table for the user 'name id'=1 (remove the recorded skills for the user 'name id'=1)

 

Any idea?

thanks

 

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

    Hi @Anonymous ,

    Do you want to display items that are not in  skillset?

    I've made a similar test for your reference:

    Set the drop down's Items:

    skilllist

    Set the drop down's Value:

    skill

    Set the drop down's items:

    Filter(skilllist,Not(skill in skillset.skill))

    Please pay attention to the setting's order.

     

    Best regards,

    Community Support Team _ Phoebe Liu

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-yutliu-msft 

    Thanks for coming back to me so quickly.

     

    Almost there.
    I want to display items that are not in skills and related to an specific user id, since I am adding skills to this employee.
    I tried this, but it is not working:

    Filter(skilllist,Not(skill in skillset.Skill)&&Gallery_resources.Selected.id=skillset.'name id')

     

    do you know why?

     

    Thanks again,

    Wagner

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Since the two conditions are used to filter two tables, you can't just combine them directly.

    I suggest you save the filtered data of skillset as a collection.(You could set the gallery's arrow icon's OnSelect)

    ClearCollect(skillset2,Filter(skillset,'name id'=Gallery_resources.Selected.id))

    And then filter skilllist:

    Filter(skilllist,Not(skill in skillset2.skill))

    Best regards,

    Community Support Team _ Phoebe Liu

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks so much @v-yutliu-msft 

    You are badass!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,045

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 592

Last 30 days Overall leaderboard