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 / Convert CSV to XLSX fi...
Power Automate
Unanswered

Convert CSV to XLSX file (The data should look as formatted table which shown in the screenshot below)

(0) ShareShare
ReportReport
Posted on by 19

Hello,

 

I am new to PowerAutomate.

I was able to get my data as CSV. However I cannot find a way to properly convert this CSV to an XLSX excel sheet and put all the data in a formated table.

 

Here is how the CSV data looks like

2022-09-21 08_22_38-Azure AD users_2022-09-20_1243PM.xlsx.png

 

I want to convert this file and to xlsx as formatted table shown below and save it as xlsx file in sharepoint. Everthing should be done via PowerAutomate Flow. The flow should go and read the CSV file then parse the data and add create table and add the rows and finally save the file as XLSX in the sharepoint.

2022-09-21 08_29_40-XLSX File viewer _ Microsoft Teams.png

 

Bonus : If I could get only the lastSignInDateTime in SignIn Activity column that would be much much appreciated :).

 

Looking forward to any help. I have been working on it for 2 days but nothing worked as I expected. Thats why I refered here to seek help.

 

Regards

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

    Hey @lG_2022 

    Check out this video:

    https://www.youtube.com/watch?v=9J6ThPWGaG0

     

    My Method: [Not sure will work well]

    For my case I used split function, and then saved it in another excel.

    But before I had converted the excel into a table.

    Here is how the data looked like:

    Sundeep_Malik_0-1663744445742.png

    and how it got added:

    Sundeep_Malik_1-1663744476984.png

    First I used list rows in a table action.

    After that:

    I used a compose to store the column 1 in it. Then used split function to split it where ever it finds a comma.

    Sundeep_Malik_2-1663744549052.png

    Then I stored it in another excel's table:

    used output's index value to store.

    Sundeep_Malik_3-1663744650715.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

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard