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 / Power fx "rollup" or "...
Power Apps
Unanswered

Power fx "rollup" or "sum if" function

(1) ShareShare
ReportReport
Posted on by 41

Hi, I am looking to get a feature working as below:

 

Table "Purchase Invoice" has a many to one relationship with table "subcontract"

 

I want to know how much total invoice amount belongs to a particular subcontractor, which is basically by conditional rollup all purchase invoices that belong to this "subcontract".

 

The roll up column seems to behave very odd, firstly it takes ages to update to a new value if you add a new record, 2, the calculation is even wrong and I can't even tell what's going on.

 

Can this be done by power fx formula? Because rollup feature is just so old it just keeps doing funny things.

 

This powerfx formula would be similar to what I have done in Excel using:

 

 

=SUMIF(PURCHASE_INVOICE[SUBCONTRACT],[@SUBCONTRACT],PURCHASE_INVOICE[INVOICE_AMOUNT])

 

 

Come on even excel is more powerful and handy than DATAVERSE!!

 

I have the same question (0)
  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @bugescape,

     

    Rollup fields/columns update every 12h which it's why "it's slow". This is by-design for performance reasons. For Power FX, are you using Formula columns or you're trying Power FX within a canvas app? Unfortunately SUMIF is not yet supported in Formula PowerFX Dataverse columns. 

     

    Feel free to submit the idea though (and I'll vote!) at: https://ideas.powerapps.com/d365community/forum/f1458c72-ae29-ed11-9db2-000d3a8c451e

    The alternative I would suggest is to calculate the sum in Power Automate. That will work nicely and relatively simple.

    Hope this helps!

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard