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 / Change datasource dyna...
Power Apps
Unanswered

Change datasource dynamically in power app

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I'm using OneDrive excel as a data source in power app. My requirement is, I have two screens in power app and two tables in OneDrive. For first screen I do manual connection to the first table in OneDrive and for second screen I have to avoid that manual steps(I need automation of connection from second screen to second table in OneDrive).

Is there any way to do that?

Categories:
  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    Hi @avadhuts123 ,

    I do not know what you mean by automation - if you connect Power Apps to both Tables, you can link the second screen to the second Table. If you are asking whether you can connect to a data source not already connected via code, then the answer is no - this must be done in Power Apps studio.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • avadhuts123 Profile Picture
    2 on at

    Hi @WarrenBelz ,

    Thank you for your reply. I'll reframe what I mean by automation of connection. I have an excel sheet on one drive which has two tables.  These two tables are connected to two separate screens in power apps. What I need is that when I add third table to the sheet(schema same as first two tables) a third screen should be created in power apps and the third table mentioned before should be linked to it. (Currently after adding the table, I have to manually add a screen in power apps). Is there any way to do this? (I'm open to using other power platform apps like power automate if need be)

     

     

     

     

  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    @avadhuts123 ,

    Sorry but still not totally clear - if you are referring to dynamically linking Tables and/or creating screens when the app runs, then you cannot do this - any design or linking must be done in Power Apps Studio.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard