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 extracting multi...
Power Automate
Answered

Issue extracting multi choice column from Sharepoint list into a csv file

(0) ShareShare
ReportReport
Posted on by 6

I have a sharepoint list having ID, Task Name and Task Owner as columns where Task Owner is a multi Selection column that chooses from All Users (windows). I want to extract the content of this into a CSV file in my local folder using Power Automate. But unable to get values from multi selection column (Task Owner, internal name field_3). ( its values are based on firstname, lastname, eg. abc,bcd (FN,LN), cde,asd (FN,LN), Pq, dsa etc.). Can I get a best way to read this list into a csv file please !

Categories:
I have the same question (0)
  • nephar Profile Picture
    6 on at

    I tried using 

    join(xpath(xml(json(concat('{"root":',json(concat('{"Value":',item()?['field_3'], '}')), '}'))),
    '/root/Value/Value/text()'),',') -- But the column is coming Blank
  • Verified answer
    Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @nephar,

     

    Did you use this in your Create CSV table action? Normally you would have one xpath expression in the Form and one in the Value field. I see you combined the two in one full expression.

     

    I would have expected in the From

    xpath(outputs('XML'), '//root/value')

     

    and the below in the value field

    join(xpath(item(), '//Field_3/Value/text()'), ', ')

     

    My suggestion would be to have a look at this example:

    https://powerusers.microsoft.com/t5/Building-Flows/Expression-to-Get-DisplayName-from-SharePoint-People-Picker/m-p/1913160/highlight/true#M210643

     

     

     

  • nephar Profile Picture
    6 on at

    I am trying to use Trigger action, Get items, create csv table and create csv file actions in sequence. When I try to include 

    xpath(outputs('XML'), '//root/value')

    in FROM field of create csv table action, it gives error - The input parameter(s) of action 'Create_CSV_table' contain an invalid reference to 'XML'. Correct to include a valid reference to 'XML' for the input parameter(s) of action 'Create_CSV_table'

  • nephar Profile Picture
    6 on at

    Even when I use a Compose action and then Create CSV then also getting the same error

  • nephar Profile Picture
    6 on at

    Thank you very much for the help. I followed the steps in the link and it worked perfectly.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard