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 / Total from Second Table
Power Apps
Suggested Answer

Total from Second Table

(1) ShareShare
ReportReport
Posted on by 17
Below is my scenario:

Table A is the master table, Table B is transaction table so there is a one to many relationship.
 
For each Item in Table A multiple activities can be created in Table B - this is working

There is a column in Table B called Amount...i want to get total of all items in this column and display in Total Income Column in Table B 
Tried to do this using Power Automate which works but its giving a warning of number of times the flow is getting triggered. Currently the flow is getting triggered on when an item is modified. How can i get it to trigger only when the Amount column in Table B changes?
 
Or Any better way to do this?
I have the same question (0)
  • Shashank Bhide Profile Picture
    946 Moderator on at
    Flow might be running under a human user context, create an application user and run the power automate under that and see if you still getting the error.
  • Suggested answer
    Inogic Profile Picture
    1,277 Moderator on at
    Hi,
     
    If you want your flow to get triggered only when there is any change in Account field then you have to give one condition in the Power automate flow.

    In the “Select Columns” just add the logical name of the field on which you want to trigger the flow. Then it will only trigger on change of that particular field.

    In the below example – I have a flow which will triggered on change of the “name” field in the Account entity. It will only get triggered when the name field changes.

     
    Thanks!
    Inogic Professional Services: Power Platform/Dynamics 365 CRM
    An expert technical extension for your techno-functional business needs
    Drop an email at crm@inogic.com
    Service: https://www.inogic.com/services/
    Tips and Tricks: https://www.inogic.com/blog/
  • Suggested answer
    ankit_singhal Profile Picture
    618 Moderator on at
    you can use Roll up field as well. Also, in power automate you can set filter it will trigger on amount change only. you can set the condition in trigger body 
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,974 Moderator on at
    Hi,
     
    The answer is you have to add a Trigger Condition.
     
    In the Trigger Condition you would specify which Column or Columns you want it to trigger for. Then it will not trigger for any other columns.
     
     
    Please review that.
  • Suggested answer
    Sebastian030 Profile Picture
    86 on at
    As the user @ankit_singhal suggested, a roll up column is your easiest way to achieve this.

    Roll ups are asynchronus and calculated on a sheduled basis / as soon as a row is saved.

    You can find more Informations here:

    Create and define calculation or rollup columns in Microsoft Dataverse - Training | Microsoft Learn

    Define rollup columns with Power Apps - Power Apps | Microsoft Learn

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard