Hi Yassin,
1.Before calling this BCo_Sub_Microflow you need to get the single customer as a parameter.
2.Retrive the associated list of revenue for the single customer and pass it to the microflow
3.Then you can use the aggregate activity to take the sum
So before committing each time it take the revenue calculation for each customer
Hope it helps!