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 / Data sourceing -Ideas ...
Power Apps
Unanswered

Data sourceing -Ideas and best Practices

(0) ShareShare
ReportReport
Posted on by 69

Ok, I have searched through the posts, and I am still confused.

Here is the scenario, I have an app, that uses 7 excel spreadsheets, the spreadsheets are generated every evening.

they are shared on a OneDrive, all users have access to it.

when I update the spreadsheets, (they are overwritten with new data) the data doesn't get updated in the app. I have hit the refresh, and it says its successful, but it is almost like its cached. and nothing changes.

 

If I remove the DataSource and readd it, it updates. (not sustainable)

 

Now I am going to go to a SQL database, and use tables, but that is down the road, once I have it all datapoints, and structure set up.

 

My question after all that is this.

Is there a way to reload the data, or delete the cached data to make it do a call to the spreadsheets?

would it be better to put it into a SharePoint Doc Library? would that speed up the cache reload?

 

am i way out in left field?

 

any ideas and suggestions would be appreciated!

 

thanks

 

Guy (90_percent)

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @90_percent 

    First - you are working with Excel.  You have to realize that it is treated as a database once you add the list to your app.  So, it should not be altered by other means unless it is really adding or changing data in the existing list.

    You have mentioned that some process is replacing those files every evening.  This is not a good thing for PowerApps.  It is not going to work that way.

     

    Your better process is to have the new data either added to the excel file as rows in the file thought a PowerAutomate flow, or have the data put into a more flexible datasource - like SharePoint (no additional license needed) or SQL (Premium license needed).

     

    If you think about your Excel as a database once it is in your app, then it makes more sense that you would not replace it with something else.  Add to it or alter within the constraints of the rows and columns of it is fine, but replace it is bad.

     

    With Excel, the only way to get PowerApps to recognize a major change to it like you describe is to re-add that file as a datasource.  Otherwise it is not going to work with it.

     

    HOWEVER, that said - you also mention what sounds like another form of adding Excel data into your App.  You can add Excel tables as interactive (data can change) or static tables (it is read into the app and retained and not changeable).

     

    So, make sure you are bringing it in as a datasource that you can alter and not static.

     

    I hope this is helpful for you.

  • Verified answer
    90_percent Profile Picture
    69 on at

    @RandyHayes Thank you!

     

    a little more information.

     

    I have a list of 3500 stocks (rows) with 30 different attributes (columns) the stocks rarely change, but the attributes change daily.

     The other tables are subsets of this table depending on attributes.

    I don't need the historical data, just the recent data. 

    You mentioned SharePoint, as in a SharePoint list? or SharePoint document library? and would I need to add to the bottom new rows, or can I just change the attributes of the rows?

     

    i appreciate the input!

     

     

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