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 Apps
Unanswered

Combo Box error

(0) ShareShare
ReportReport
Posted on by 125

Hi Folks,

 

I have a dilemma, I have a SharePoint list of member:

 

Member NameAccess Type
Denji1
Aly1
Aly2
Maru4
Aly3

 

The function I'm creating is ability to change access. Hence I need to create a combo box that every time change the access will change.

 

but I need to figure out how to insert items in combo box dynamically. The access type can go up to 9, If the user have only 5 access then it should reflect on the combo box.

 

 

Categories:
I have the same question (0)
  • alaabitar Profile Picture
    1,503 Super User 2024 Season 1 on at

    Hello @philifova 

     

    So let's say you have a collection object
    ClearCollect(
    _access,
    {
    MemberName: "Denji",
    AccessType: "1"
    },
    {
    MemberName: "Aly",
    AccessType: "1"
    },
    {
    MemberName: "Aly",
    AccessType: "2"
    },
    {
    MemberName: "Maru",
    AccessType: "4"
    },
    {
    MemberName: "Aly",
    AccessType: "3"
    }
    )

    Then you have two combobox, one to select the memebr name and the other to select the accesstype

    The items property of your cobobox to select the membername is 

    Distinct(_access,MemberName)

    The items property of your combobox to select the access type is

    Filter(_access,MemberName=cmbMemberName.Selected.Result)

    Like the below screen shots

    alaabitar_1-1675858400226.pngalaabitar_2-1675858421538.png

    Best regards,

    Alaa

     

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard