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 / Changing Data Sources
Power Apps
Unanswered

Changing Data Sources

(0) ShareShare
ReportReport
Posted on by 4

My intent is to have data sources dependent on what part number I select. My question is if this is possible and if so, is there a limit to how many data sources I can upload?

Categories:
I have the same question (0)
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    You will have to add all the possible datasources to your app. Then say if you want to show a gallery of items based on the part number, you can have multiple galleries for each data source and then hide/show thembased on the part number.

    Let me know if you have any questions.

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    The Power Addict
    https://thepoweraddict.com
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @madlyons ,

    Do you want to change the data source within your app dynamically based on some condition?

     

    Based on the needs that you mentioned, I think the If function could achieve your needs. Please consider take a try with the following formula:

    If(
     PartNumberDropdown.Selected.Value = "xxxx",
     "DataSource1",
     PartNumberDropdown.Selected.Value = "xxxx1",
     "DataSource2",
     ...
     ...
    )

     

    In addition, there is a limit on the amount of the data sources you could upload into an app -- Don’t connect to more than 30 data sources from the same app. Please check the following article for more details:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/performance-tips#limit-data-connections

     

    The more data sources you uploaded in your app, the more CPU resources, memory, and network bandwidth resource you would consume.

     

    For your app's performance, please do not upload more than 30 data sources into your app.

     

    Best regards,

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard