cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
zhengting
Frequent Visitor

Dynamically Load different data depending on the User

Hi, I am trying to load a form where it would load certain data depending which office the user is from. Each office would have their own excel file. May I know if there is a way to load the correct data from the correct file depending on who is using the app?

 

Thank you!

Zheng Ting

1 ACCEPTED SOLUTION

Accepted Solutions
Mike2500
Super User
Super User

In addition to Bryan's idea, another common approach is to load all the rows into a single source, perhaps a SharePoint list, and filter the rows based on who is viewing the app. 

View solution in original post

3 REPLIES 3
BCLS776
Super User
Super User

Right now, Power Apps does not support runtime linking to different data sources - each data source must be connected to the app in the portal before it is run.

If you are working with a small number of Excel files, consider linking all of them and using conditional logic in your app to decide which one goes with which user.

Hope that helps,

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.
Mike2500
Super User
Super User

In addition to Bryan's idea, another common approach is to load all the rows into a single source, perhaps a SharePoint list, and filter the rows based on who is viewing the app. 

zhengting
Frequent Visitor

Thank you so much for your help!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,920)