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 Apps / Pulling data from exce...
Power Apps
Unanswered

Pulling data from excel spreadsheet

(0) ShareShare
ReportReport
Posted on by 101

Good Morning,

 

I'm trying to make a PowerApp that pulls data from an excel spreadsheet.  This spreadsheet is automatically updated once per hour.  My issue that I'm running into is the software that exports this data to excel doesn't format the data in a table.  So when I attempt to pull the data from excel I'm unable to because the file doesn't have a table.  Is there a way to bypass this or somehow automatically format the data as a table?  

Categories:
I have the same question (0)
  • photonacl Profile Picture
    29 on at

    How does the software export data? Does it replace the entire excel file every set of time interval?  Or does it only update the value of the existing file? Have you tried to format the existing file as table first, then have the software somehow only update the cells?

     

    Just a direction of thoughts.

  • Mike_Guzowski Profile Picture
    219 on at
    And by excel file we mean xlsx I believe, not csv or sth?
  • MattyJ_09 Profile Picture
    101 on at

    It replaces the file each time and it is in xlsx file type.  

  • Mike_Guzowski Profile Picture
    219 on at

    I've just made few tests on my sides. The results are:
    - I changed file contect from excel, leave the extra PA field empty, extend the table - WORKS

    - I changed file contect from excel, leave the extra PA field empty, didn't extend the table - NOT WORKS
    - I renamed file - WORKS (unexpectedly)

    - I replaced file - NOT WORKS
    - I deleted file and then un-deleted it - NOT WORKS (unexpectedly)

    So it seems that:
    - PA depends on excel sheet table object
    - PA keep some relation to specific file by it's uid(?), not file name. Uid(?) is assigned on a file appearance(?). 
    In other words you should modify your program (I hope you can do it) so it can modify excel sheet table instead of replacing whole piece.

  • MattyJ_09 Profile Picture
    101 on at

    I'm unable to modify the program that gives me the excel spreadsheet.  It is from a third party.

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

    Hi @MattyJ_09,

    Do you want to pull data from a Excel file whose data is not formatted as a table into an app?

    Currently, within PowerApps, we could only pull data from a Excel file whose data has been formatted as a table into a an app.

    If you want to pull data from a Excel file whose data is not formatted as a table into an app, I afraid that there is no way to achieve your needs in PowerApps currently.

    In addition, there is no way to format the data within a Excel file as a table automatically. You could only format your Excel file data as a table manually.

    More details about formatting Excel file's data as a table, please check the following article:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/how-to-excel-tips

     

    Best regards,

    Kris

  • Suggested answer
    takolota1 Profile Picture
    4,974 Moderator on at

    You can also use this template Azure Function to pull data from any Excel sheet without the need for table formatting...
    https://community.powerplatform.com/galleries/gallery-posts/?postid=eea06380-8483-ef11-ac21-7c1e5201b42f

    Or if you need something without premium connectors, then you can use these Office Script templates…

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard