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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Flow based on a column with multiple choice

(1) ShareShare
ReportReport
Posted on by 16

Dear Power Automate experts,

 

I'm having a library where I've added two columns, same type (Choice) but the only difference is that in the column 'Fase' a user is allow to select multiple options where for the column 'Discipline' only one value can be selected:

JorisVanBossche_0-1633961236269.png

 

Now when I add a condition I can use 'Discipline Value'

JorisVanBossche_1-1633961323253.png

 

Where for 'Fase' I cannot use the value:

JorisVanBossche_2-1633961360281.png

 

Result is that I cannot build a flow where for the 'Fase Value' contains 'Contractual' the file needs to be moved to a specific folder.
I hope someone has the answer?

I have the same question (0)
  • tom_riha Profile Picture
    10,179 Most Valuable Professional on at
    Re: Flow based on a column with multiple choice

    Hello @JorisVanBossche ,

    once you enable multiple selection in a choice column, Power Automate will process the column as an array. To access its values it'll need to loop through all the choices inside 'Apply to each' and only then you can access the values.

    You've got two options how to solve this:

    1. the brute force one: convert the whole Fase dynamic content into string and check if the string contains the text 'Contractual'

    string(outputs(....)?['Fase']) <contains> Contractual
    
    Note: outputs(...)?['Fase'] is the dynamic content Fase, replace it

    2. extract the values from the multiple choice column using the xpath(...) expression as explained here and then compare it: https://tomriha.com/format-multiple-choice-sharepoint-column-in-csv-using-power-automate/

    e.g. 

    xpath(xml(json(concat('{"body":{"value":', outputs(....)?['Fase'] , '}}'))), '/body/value/Value/text()')

     

  • diane513 Profile Picture
    4 on at
    Re: Flow based on a column with multiple choice

    What is supposed to go in the "outputs(...)"?

  • tom_riha Profile Picture
    10,179 Most Valuable Professional on at
    Re: Flow based on a column with multiple choice

    outputs(...) means output from some of the previous actions

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard