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 / Ignore comma in string...
Power Automate
Answered

Ignore comma in string when creating a csv

(0) ShareShare
ReportReport
Posted on by 9

TLDR:

I've looked at several other similar questions, but the answer always seems to be to replace the comma with something else. I actually need to keep the comma in the string, but ignore it when creating the csv. It's entirely possible that there's a much better way to go about what I'm trying, I'm open to suggestions on that front as well.

 

Full:

I am attempting to pull data from powerBI that contains a report with data in the following format:

AbbrDisplayName
NameMy Long Name 
Name2Other Really, Long, Name

 

Then I want that data to be converted into a csv and uploaded to onedrive or sharepoint, doesn't matter where. I've built it all the way out to where I can create the csv and upload to onedrive. However, I hit a snag when checking the final version. Since there are comma's in several of the DisplayName columns, I'll actually get a csv returned in this format:

AbbrDisplayName  
NameMy Long Name  
Name2Other ReallyLongName

 

I need to be able to ignore the comma's that are in the DisplayName variable as I actually need them in the end result. The finally file will interface with our document management system which locates folders by matching the DisplayName. Replacing the comma's in the originally data and in the document management system isn't ideal either as there are thousands of records. 

 

Flow:

xxdrizzxx_0-1663074716340.png

Apply to Each:

xxdrizzxx_1-1663074747807.png

 

Categories:
  • Verified answer
    xxDrizzxx Profile Picture
    9 on at

    Never mind, I'm just going crazy. I swore I remembered wrapping the variable in double quotes yesterday, but that seems to be working now. I don't believe I've come across this answer anywhere else though, so putting it in so someone else can find it later. 

    xxdrizzxx_0-1663082219696.png

    xxdrizzxx_1-1663082256491.png

     

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 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard