Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Unique Dropdown Selection Based on SharePoint List

(0) ShareShare
ReportReport
Posted on by

Hello all!

 

I'm trying to get a unique list of phone numbers from a SharePoint list, and if you assign a phone number, it wont be available in the dropdown anymore.

 

Here is my current formula within the form:

Filter('New Arrivals', 'Name (Title)' = "Vacant")

Applications_0-1660241862650.png

 

So it needs to reference the other names in the list that are titled "Vacant" and then when a number is assigned, it pulls it off of the dropdown. 

 

Any thoughts?

  • Verified answer
    Re: Unique Dropdown Selection Based on SharePoint List

    Hi @Applications ,

     

    I did a sample for you.

    vxiaochenmsft_0-1660621518018.png

    vxiaochenmsft_1-1660621526086.png

    vxiaochenmsft_2-1660621567296.png

     

    Filter(ForAll(LIST261.PhoneNumber As A,If(Not(A.PhoneNumber in Concat(Filter(LIST262,!IsBlank(phoneNumber)),Text(phoneNumber),";")),A.PhoneNumber)),!IsBlank(Value)

     

    Hope it can help you.

     

    Best Regards,

    Wearsky

  • Applications Profile Picture
    Applications on at
    Re: Unique Dropdown Selection Based on SharePoint List

    When I use this one it lists all of the phone numbers, not just the ones for "Vacant", including the ones that have already been used

    @Drrickryp 

  • Drrickryp Profile Picture
    Drrickryp 30,490 on at
    Re: Unique Dropdown Selection Based on SharePoint List

    @Applications 

    Items for dropdown: 

    Filter('New Arrivals', 'Name (Title)'<> "Vacant")

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

Kickstarter Events…

Register for Microsoft Kickstarter Events…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #13 Writing Effective Answers…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,858

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,505

Leaderboard