Forum Discussion
Average on Matrix Subtotals
- 7 years ago
Also I need to add
ISFILTERED function to be able to change the ALLEXCEPT depend of the hierarchy I'm in.
I'm not sure I understand your goal here. Could you elaborate further?
Thanks,
Ben
- vbourbeau7 years ago
Resolver II
Ok,
If you look the first example I want to add the last column the average of sales. my client 1 sale for 2000$ what is 50% of my total sales. How can I add this Column?
Also if I drag down in the matrix I have each part sale for a specific client. I want to have the average of each part on the client sales. the part 1 sale 1000$ what is 50% of the total sales of this client.
- vbourbeau7 years ago
Resolver II
ok look what I've done.
I create a new measure who keep the total sales for all the matrix
Total locked = calculate([Total]; ALLEXCEPT(table;somefilter))And I divideAverage sales = divide([total];[total locked]I got this:Client Sales Average
Client1 2000$ 50%
Client2 1000$ 25%
Client3 1000$ 25%
Total 4000$ 100%
But when I drill down
Client Part Sales Average
Client1 1 1000$ 25%
2 500$ 12.5%
3 500$ 12.5%
Total 2000$ 50%
Client2 1000$ 25%
Client3 1000$ 25%
Total 4000$ 100%
It's probably normal, but what I want is to have the average of the drill down value on the drill down total and not on the total sales.
Client1 1 1000$ 50%
2 500$ 25%
3 500$ 25%
I want when I look for one client what is the percentage of sales for part 1 on is total sale to him not to all client.
- vbourbeau7 years ago
Resolver II
Also I need to add
ISFILTERED function to be able to change the ALLEXCEPT depend of the hierarchy I'm in.