web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Up Program - Building model-driven apps w...
Unanswered

Dataverse: Auto-populate field using multiple column match across tables

(0) ShareShare
ReportReport
Posted on by

Title:

“Dataverse: Auto-populate field using multiple column match across tables”

 

Body:

 
 

I have three tables in Dataverse:

 

  • Header Table: Company Id, Site Id, Warehouse

  • OnHand Table: Item Id, Warehouse, Onhand Qty

  • Line Table: Company Id, Site Id, Warehouse, Item Id, Onhand Qty (needs auto-population)


  •  
 

When creating a Line record, I want the Onhand Qty field to auto-populate based on matching Warehouse, Site Id, Company Id from the Header table and Item Id from the OnHand table.

 

The user will only select the values for Company Id, Site Id, Warehouse, and Item Id in the Line record.

 

Is it possible to achieve this using Dataverse lookups or column mapping? If not, what is the recommended approach (Power Automate, calculated columns, or custom PCF)?

 

Any guidance or documentation links would be appreciated.

Categories:
I have the same question (0)
  • timl Profile Picture
    36,156 Super User 2025 Season 2 on at
    Dataverse: Auto-populate field using multiple column match across tables
     
    The way I would approach this would be to write JavaScript on the 'Line item' new form to call the Dataverse Web API and fetch the Qty value from the OnHand table.

    The link to the documentation is here.

    https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/get-started-web-api-client-side-javascript

    This appears to be a question about model driven app - I would add that if you were to build a canvas app, this process would be easier.

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 arriving December 5th!

Important updates for the Power Up Program Community – simplifying the forums…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Microsoft Power Up Program Community

#1
timl Profile Picture

timl 328 Super User 2025 Season 2

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 176 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 110 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics