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 Apps / Import Excel/CSV File ...
Power Apps
Unanswered

Import Excel/CSV File Content into a Collection

(2) ShareShare
ReportReport
Posted on by 54

Hi,

 

I was wondering if there's a way to Import an Excel/CSV File, Get its file content, and load it up in a Collection.

From what I've searched, there's no direct way to open it up within PowerApps, But is the following steps possible:

1. Use the attachment control in PowerApps, to get filepath of the Excel/CSV File*
2. Use the value of that attachment control and pass it through Power Automate. 
3. Use Parse JSON to get the contents
4. Send back the output to PowerApps, then into a collection.

 

*Assuming the Excel/CSV File is a template, so the structure inside is always the same.

 

 

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    You can use Power Automate to send the JSON to the app

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Collect-JSON-string-into-columns/td-p/562306

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,

    Gonçalo Nogueira

    Check my LinkedIn!

    Buy me a coffee!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

  • Phil_NPO Profile Picture
    102 on at

    hey noelflores,

     

    how do you get the attachment to power automate? 

     

    I tried "CSVDataImport.Run(DataCardValue15_1.Attachments.Value)" and this is red underlined. 

     

    On powerautomate I have the powerapps trigger, after this I added "Parse Json" and as input I ask powerapps.

  • Alya Profile Picture
    5 on at

    I have the same problem 😓

  • RyanBrown Profile Picture
    8 on at

    Because there could be more than one attachment, you need to either loop through them or choose the first one (and limit the attacthments control to 1 item to avoid user confusion).  So the code should look like this:

     

    csvimportflowname.run(first(DataCardValue15_1.Attachments).value)

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 833

#2
Valantis Profile Picture

Valantis 563

#3
Haque Profile Picture

Haque 383

Last 30 days Overall leaderboard