Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

Pass data between tables

(0) ShareShare
ReportReport
Posted on by 13

Hi

 

I am starting with power apps and I want to build a model driven app, I have 2 tables, one that indicates the operation performed in a job and the other stores various contracts with prices set, I want that when creating a new operation that the respective customer prices of the other table are available to calculate the price accordingly.

 

With the lookup column would indicate the customer, but how do I bring the other data to make the calculations required automatically?

 

 

  • Verified answer
    365-Assist Profile Picture
    2,312 Super User 2025 Season 1 on at
    Re: Pass data between tables

    You could create an Power Automate Flow that I imagine looks something like this

     

    365Assist_1-1654730095204.png

     

    You could either trigger it by:

    - Save of record or 

    - Adding a button (or use a Business Process Flow) to the App called "Calculate Cost" to run the Flow.

     


    ---------------------------------------------------
    Please mark as Answer if it is helpful as can help others.

    Subscribe: https://www.youtube.com/channel/UCFpvUlpx84FuIPOdInGKMTw
    Twitter: https://twitter.com/assist_365

    Regards
    Darren Lutchner - 365 Assist

  • AhmedSalih Profile Picture
    6,678 Super User 2025 Season 1 on at
    Re: Pass data between tables

    @Jayser_blanco , there is no direct way to calculate values in one column based on the values in another table's columns. You will need to use some sort of JavaScript, power automate or plugins at this time. Check this thread for more insight >> https://powerusers.microsoft.com/t5/Microsoft-Dataverse/Calculated-column-using-data-from-two-tables/m-p/1358923#M15648

  • Jayser_blanco Profile Picture
    13 on at
    Re: Pass data between tables

    Ok, more detail:
    I have 2 tables
    Client table: that stores client information and the established costs, each client can have different costs.
    Job table: table where the jobs performed are recorded with the respective details and the final cost.

    For example, customer A asks for several services to be performed:
    Service 1
    Service 2
    Service 3

    The prices of each service for customer A are in the customer table.

    What I am looking for is that when filling in the form in the job table the respective customer (Customer A) to be able to use the costs set for that specific customer that are in the customer table and thus automatically calculate the final price.

    Attached are the test tables I have worked with, the forms.

    The formula I want to propose for the final price is

     

    Precio final = Precio 1*Cantidad de operaciones 1 realizadas

     

    Tabla de incidencias.png

    Tabla clientes.png

    Form1.png

    Form2.png

  • 365-Assist Profile Picture
    2,312 Super User 2025 Season 1 on at
    Re: Pass data between tables

    Can you please add some screen shots of your work so far with a bit more explanation of what you are trying to achieve.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 17

#2
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

Overall leaderboard

Featured topics