@Joana_Reis
See if this is what you want.
If so, study each table, column, and formula to see how it all connects.