Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Please help me, I want calculate percentage but this formula doesn't work, the percentage not 100 %
COUNT({<[EmpStatusByMonth] = {[Active]}>} distinct [Emp No] )/Count({<[EmpStatusByMonth] = {[Active]}>} TOTAL<[Emp No],PT,[Fto Name],Month>distinct [Emp No])
It could be the EmpStatusByMonth modifier that is wrong. Try this:
COUNT({<[EmpStatusByMonth] = {'Active'}>} distinct [Emp No] )/Count({<[EmpStatusByMonth] = {'Active'}>} TOTAL<[Emp No],PT,[Fto Name],Month>distinct [Emp No])
Do you have control over your TOTAL <...> setup. Try removing the <...> and add one dimension at the time.
COUNT({<[EmpStatusByMonth] = {'Active'}>} distinct [Emp No] )/Count({<[EmpStatusByMonth] = {'Active'}>} TOTAL<[Emp No],PT,[Fto Name],Month>distinct [Emp No])