Problem in calculating data in repeated groups

@diegmg98, well if this is the case, you could do it as outlined in the post discussed previously: