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!!
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!
ankit_singhal
11
Super User 2025 Season 1
mmbr1606
9
Super User 2025 Season 1
CU07050602-0
4