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 convert text fi...
Power Automate
Answered

How to convert text file to excel

(0) ShareShare
ReportReport
Posted on by 34

Hi,

I want to make a flow that when a text or csv file adds to SharePoint, convert it to excel or add the content to a Sharepoint list

The text file rows are like:

02;E02;A-0192;10,000;10,000

so I need to set each part in a column. 

 

Would you help, please?

 

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

     

    Hi @Setayesh ,

     

    You can use Get file content to get the file content first. The file content of the text file should be plain text.

    Then use the split() function to split the content.

    Finally, use the array index to reference the value of each element and add it to each column.

     

    Best Regards,

  • v-bacao-msft Profile Picture
    on at

     

    Hi @Setayesh ,

     

    Please check this image:

    108.PNG109.PNG

    Best Regards,

  • Setayesh Profile Picture
    34 on at

    Hi, 

     

    Many thanks for the respond, I tried that. I need to check each row but it just can get the first 60 rows and I dont know how to fix it. the rows are more than 30000.

     

    the file data is like bellow now: just necessary data kept in csv file

    A-0129
    A-0134
    A-0247
    A-0281

     

    1.jpg2.jpg3.jpg

     

  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @Setayesh ,

     

    Because Do until creates up to 60 loops.

     

    You can consider using Apply to each instead of Do until.

     

    Create an integer variable, each time the variable is incremented, and determine if the expected value has been reached. If it is, then the action that is expected to be executed is not executed.

     

    Hope it makes sense.

     

    Best Regards,

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard