Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello experts,
Is it possible to calculate de % of a lower dimension by its upper total? The result I want to get can be explained better in this excel screenshot:
So Employees from Branch A should be divided by Branch A's Totals. I tried Dimensionality() expression with no success. If i can get the Total Branch Sales' Total group by Branch in the Employees Dimension, may solve the problem.
Many Thanks beforehand!
use "total" qualifier in your expression (with the Employees as dimension to disregard)
You would need to exclude some of the dimensions in your TOTAL using <fieldA, fieldB>.
Try something like this:
sum(Sales)/sum(total <geography, Branch> [Total Brach Sales])
use "total" qualifier in your expression (with the Employees as dimension to disregard)
Thanks for the answer mikaelsc, but if I use Total qualifier in the expression, I get the top total (2178). What I'm trying to get is the totals of each Branch (e.g. for Branch A = 100). So I want to ultimately divide Employee / Branch Total (e.g. for Joe in Branch A would be 4/100 )
yes...
total <Branch>
You would need to exclude some of the dimensions in your TOTAL using <fieldA, fieldB>.
Try something like this:
sum(Sales)/sum(total <geography, Branch> [Total Brach Sales])