Skip to main content
Community site session details

Community site session details

Session Id : X+lZmYnpUSmLMlYvpSS42M
Power Automate - Building Flows
Answered

Converting Array to String going from Forms to Excel

Like (0) ShareShare
ReportReport
Posted on 2 Jan 2024 18:11:34 by 6

I'm sure that this has been covered before, but I'd really appreciate some help.

I've written a flow that will take information from a Form and put it into an Excel spreadsheet.  This all works fine.  The problem is that I have a number of multiselect answers in the Form which are coming across like this.... ["North America, "LATAM", EMEA"] and I want them to appear as North America; LATAM; EMEA.  I think that means I need to convert an array to a string, but I'm not sure if that's correct or how to do it!  

 

Frannier_1-1704218992052.png

Thanks in advance for your help - I am very much a newbie at all of this!

 

 

  • Frannier Profile Picture
    6 on 15 Jan 2024 at 11:22:14
    Re: Converting Array to String going from Forms to Excel

    Thanks for this - I ended up using the replace function that you highlighted in one of the other articles as I was able to understand what to do with that.  

  • Verified answer
    rzaneti Profile Picture
    4,096 Super User 2025 Season 2 on 02 Jan 2024 at 19:26:16
    Re: Converting Array to String going from Forms to Excel

    Hi @Frannier ,

     

    You can use the join() expression to achieve it. Here is a quick example using the same array provided by you: 

    rzaneti_0-1704223140350.png

     

    In a string variable, I'm assigning the join() expression, but you can do it directly in your "Add a new row to a table" action:

    rzaneti_1-1704223171495.png

     

    In yellow, you have the array that must be joined; in green, you have the "separator" that will be used in this operation (in our case, a semicolon). 

     

    Here is the final result: 

    rzaneti_2-1704223248316.png

     

    You can check more details about how to work with text expressions in Power Automate in this article that I wrote some months ago: http://digitalmill.net/2023/08/12/how-to-extract-and-clean-texts-with-power-automate/ .

     

    There is also this another article that uses as example the same operation that you are trying to automate (add form answers to an Excel file, including from multiple choice fields): http://digitalmill.net/2023/07/31/using-dynamic-content-in-power-automate/

     

     

    Let me know if it works for you or if you need any additional help!

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

    http://digitalmill.net/ 
    https://www.linkedin.com/in/raphael-haus-zaneti/ 

     

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2