Hello friends!
I've been trying to figure out how to best accomplish a task and have looked at both PowerApps formulas as well as PowerAutomate Flows with no luck.
I have a sharepoint list that contains completed projects with information like below:
COLUMNS TO UPDATE
ID ProdLine Items Affected Description Monthly Proj. Impact Annual Savings Adj. Mnth Imp Adj. Ann Sav
1 PMP D123, F334 Update to pumps $5,334 $112,343 $5,334 $0
2 PMP D123, F334 Upgrade power $4,232 $115,232 $0 $115,232
3 PMP D123, R553 Upgrade power $4,664 $28,223 $4,664 $28,223
4 PMP F112, G743 Update to pumps $6,232 $121,112 $6,232 $121,112
5 PMP D123, F334 Upgrade power $3,232 $111,232 $0 $0
What I need to do is update the end columns (currently blank) with the HIGHER of each number when the Items Affected are the exact same.
What this does for me is allow me to show financial impacts without "double-dipping" on projects that have the same exact Item numbers. The best way for me to show the impact, per management, is to just show the larger of the two numbers for a project. These two end columns will then sum and be displayed on a dashboard.
I'm having difficulty in combining all these steps:
- looks at each line (record) in the list and compares to entire list
- Matches all rows / records that have the same model numbers affected
- Pull out the highest value for each of the two columns (Monthly Proj. Impact and Annual Savings) if there is a match and updates the others to $0
- Just copies over the amounts if they are records that have no other matching records with the same Items Affected.
Appreciate any assistance with this!