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 / Text saved to String v...
Power Automate
Answered

Text saved to String variable split into multiple lines and columns when saved to csv format

(0) ShareShare
ReportReport
Posted on by 294

Hello,

 

I have a variable(string) that is appended with data from a sharepoint columns and other variables that collect id and different columns information.  The output variable is saved to csv and I am having issues when viewing the text from multipline text columns in the csv file. If there is a line space in the text in multiline column the text is split into two rows with an empty row in between and if there is a comma, text followed by it is saved to the next column in csv file. How can avoid this and save the text in a single cell.

 

I am not using the create csv file action as I need the csv in a certain format I have created the output variable with headers and append the data into it through other variables.

 

Thnks,

Categories:
I have the same question (0)
  • SandyU Profile Picture
    225 on at

    Hi @ck25415,

    To help in reproducing the issue, would you be able to provide a screenshot of your flow, or at least the part of it that is saving the data to a csv file? 

    Thanks!

    Sandy

  • Verified answer
    ck25415 Profile Picture
    294 on at

    Hello @SandyU,

     

    Thanks for the reply, I was able to resolve the issue. I used double quotes arround the variable that saves the text so that csv ignore commas and copies the text in a single cell.

     

    Thanks,

  • martinav Profile Picture
    3,347 on at

    @ck25415 

     

    I'm curious if you wouldnt mind showing what you did?  It might help others to actually see it.  Thanks!

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 450

#2
Haque Profile Picture

Haque 366

#3
Valantis Profile Picture

Valantis 349

Last 30 days Overall leaderboard