Hi,
ok so I have this data:
| ID Product | No. Process | Process | Hours |
| 1ABC | 10 | kfdsmkfsl | 1 |
| 1ABC | 20 | dklafklamdf | 1.5 |
| 1ABC | 30 | dasdlafndlf; | 2 |
| 1ABC | 35 | alkslafmldaf | 1 |
| 1ABC | 40 | nksalkdjla | 1 |
| 2FRW | 20 | kdlsjfadnf | 2 |
| 2FRW | 30 | sdnkafmlaf | 3.5 |
| 2FRW | 40 | djklaflada | 10 |
| 2FRW | 50 | sdkaflad | 2.5 |
and I have SharePoint List to record the process, but the history process will be replaced to the new one. But I want to count the hours with the processes I've passed. Because the process not always based on 'No. Process'.
For now, I used this formula:
Round((Sum(Filter(AllRecapSOW, 'ID Product' =ThisItem.'ID Product' && 'No. Process' < ThisItem.'No. Process'),Hours)) / (Sum(Filter(AllRecapSOW, 'ID Product' =ThisItem.'ID Product'),Hours)) * 100,2) & " " & "%"
Can anyone help me to fix my formula? thankyou!