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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 802 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 273

Last 30 days Overall leaderboard