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 Automate / Issue with Choice Colu...
Power Automate
Answered

Issue with Choice Column with "Allow Multiple Values" During Filter

(0) ShareShare
ReportReport
Posted on by 51

Hello There,

 

I have a choice column "Client locations" with "Allow Multiple Values" turned on in Sharepoint List.

While using below formula in a drop down it doesn't give any results:

 

Distinct(
Filter(
SharepointList,
variableCountry in 'Client locations'
),
Customer
)

 

 

However when i turn off "Allow multiple values" in Sharepoint List and Use below formula it starts to work

 

Distinct(
Filter(
SharepointList,
variableCountry = 'Client locations'.Value
),
Customer
)

 

I want to achieve this with "Allow Multiple values" turned on. (The First Case above which is not working)

Appreciate your guidance on this.

Categories:
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @KnightWorks009 ,

     

    Please try:

    Distinct(Ungroup(Filter(SharepointList,variableCountry in 'Client locations').Customer,"Customer"),Value)

     

    Best Regards,

    Bof

  • KnightWorks009 Profile Picture
    51 on at

    Didn't help

  • KnightWorks009 Profile Picture
    51 on at

    hello @v-bofeng-msft  @annajhaveri  @SudeepGhatakNZ  , good day.. is it feasible to achieve this ?

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    The below should work. Does it not? You are missing the Value property. 

     

    Distinct(
    Filter(
    SharepointList,
    variableCountry in 'Client locations'.Value
    ),
    Customer
    )
  • KnightWorks009 Profile Picture
    51 on at

    @SudeepGhatakNZ : No, this doesn't work. As soon as you Enable "Allow Multiple Values" in SharePoint List for Choice Column this fails....

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Do you have the same setup?

    SudeepGhatakNZ_0-1706675172865.png

     

    SudeepGhatakNZ_1-1706675312073.png

     

    What does your Power Apps variable contain?

     

  • KnightWorks009 Profile Picture
    51 on at

    Thanks a ton ! @SudeepGhatakNZ  i was missing Filter().ColumnName

  • KnightWorks009 Profile Picture
    51 on at

    @SudeepGhatakNZ : Solution works however in PowerApps in the ComboBox if I turn on "Allow Searching" it stops to function. Requesting your guidance how to make it work with Allow Searching On

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @KnightWorks009 , what exactly stops working, can you elaborate? I can try at my end

     

  • KnightWorks009 Profile Picture
    51 on at

    I'm using this formula in a Combo Box.

    Combo Box has a property called "Allow Searching" which automatically turn offs after i use this formula

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 445

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 300

Last 30 days Overall leaderboard