The first table is my original data and I am trying to classify the amount of contracts. I used the function called count distinct to calculate the number of the clients, but it showed like below:
I know where the problem is, it seems that the dimension is not sum of the amount if it is from the same client. It should be like the second table. I created a new dimension which function is : but it's not working.