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 / Help needed with multi...
Power Apps
Unanswered

Help needed with multiple data sources

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I am having troubles building a function that is supposed to do a couple of things at once:

I have 2 data sources (Excel), table1 (parts needed per piece) and table2 (total inventory). table2 contains all data (and more) that is stored in table1.

What I want to achieve OnSelect of a button: 

The function should compare both tables, but only 2 of many columns (name & product). For the resulting row matches for both in table2, a calculation should be performed: substract from the numerical value "inventory" the amount which is stored in the "parts needed per piece" field in table1, of course this should be done for all found matches at once. 

 

I tried multiple versions with if/lookup/patch, but all weren't successful.

 

Looking desperately for some help!

 

Greetings

Christoph 

Categories:
I have the same question (0)

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 294 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 169

Last 30 days Overall leaderboard