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 / Adding another data so...
Power Apps
Answered

Adding another data source to a Edit Form in Canvas App

(0) ShareShare
ReportReport
Posted on by 6
I have a canvas app with an edit form that is already connected to one dtaa source. However, that source has a value that has data associated to it in another source. I need to know how to join those data sets together to render the data.
Example:
ProductID in Table 1 maps to ProductID in Table 2. Table 2 has the product name that I need to pull into the edit form, if only for display.
 
Any help would be greatly appreciated.
Thank you.
Categories:
I have the same question (0)
  • Nirav Raval (Akira28) Profile Picture
    153 Moderator on at
    Hi WCKPowerPlatformNoob ,

    Can you try using the Lookup or Addcolumns any of the methods.


    If this post solved your issue, clicking 'Does this answer your question' will help others discover the solution and close the topic. If you found it helpful, a Like would be awesome!


    Regards,
    Nirav J Raval (Akira28)
  • EricParker Profile Picture
    8 on at
    You can't add another data source but you can add a Text box inside of the form (or even outside of the form) and then execute a LookUp function to get the value from Table 2. It might look something like this:
     
    Value (or Text) = Lookup(Table 2, ProductID = {put product ID here})
     
    Not sure how your data is getting into your edit form, so it is not possible to give you an exact formula.
     
     
     
  • Verified answer
    Dee Ramos Profile Picture
    47 on at
    Here is how I did it: 

    I used a Lookup Function, for a SharePoint list:
    LookUp('SECOND TABLE NAME', PRODUCTID COLUMN NAME.Value = DataCardValue7.Selected.Value, PRODUCT NAME COLUMN NAME)
    LookUp('Sample Product Names', ProductID.Value = DataCardValue7.Selected.Value, ProductName)

    Here is some more supporting detail:

     
    I added the Default: LookUp('Sample Product Names', ProductID.Value = DataCardValue7.Selected.Value, ProductName)
     
    If this answers your question, please check the box that says "Does this answer your question?"

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard