I want to calculate the percentage of the different classes for each month, each class is taken from a separate base (person1, person2 and person3) knowing that the three bases