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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / how to change csv deli...
Power Automate
Unanswered

how to change csv delimiter

(0) ShareShare
ReportReport
Posted on by 267

HI All:

  I used this method to get csv content 

JACK_LAI_1117_1-1627292664397.png

 

the content like below 

"Display Name,Asset Type,Description,Asset Tag,Impact,Used By,Department,Managed By,Assigned On,Location,Managed By Group,Used by (Name),Managed by (Name)
"MSI TridentX 10TE-1435( I9-10900K,DDR432G,SSD-1TB)",Desktop,"7F ~ ADM202106005 ~ AAAA,20210609 2021/06/26 : transfer to XYZ",610839-11,Low,USERA-test@aaa.com,IT Deptment (410),"",2021-06-24 00:00:00,QWER,"",USERA-test,"

JACK_LAI_1117_2-1627292719823.png

 

then I use  " split(items('set-result-array-B-value'), ',') " to insert string to my array 

JACK_LAI_1117_3-1627292763643.png

 

Now I have problem !!!!

 

Because in some csv column content , user had keyin "," in the column , so when I to get some info from Compose-A  , it will show error message , So could I change the delimiter like " ^" then split my string ???

 

 

 

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

    Hi @JACK_LAI_1117 

     

    Parsing CSV files is tricky. I created a template to do it and explain the steps here:

    https://manueltgomes.com/microsoft/powerautomate/parse-a-csv-new-template/

     

    I also have another article that explains how I made the first version of the template.

    https://manueltgomes.com/microsoft/powerautomate/how-to-parse-csv-file/

     

    You can download it, import it in your instance and use it as a "black box" to get the information you need.

     

    Can you please check if this is what you need?

     

    Cheers

    Manuel

     

    ------------------------------------------------------------------

    If I have answered your question, please mark it as "Accept as Solution." It will help other members finding the solution faster. If you like my response, please give it a Thumbs Up. ?

    Otherwise, reply to it, and the community will do its best to help you.

  • takolota1 Profile Picture
    4,974 Moderator on at

    @JACK_LAI_1117 

     

    Here is a template that just changes the delimiter. And it should work in about 1 second even for large files.

     

    https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Change-CSV-Data-Delimiter/td-p/1442954

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard