Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I like to see the share of category A in category B, For example category A is Sex( Male,Female ) and Category B is opinion (good,bad).
i did the following :
I have added Sex and Opinion columns as Dimensions
in Expression Tab :
Expression One:
1
(Bar)
Expression Two:
COUNT(DISTINCT People)/Count(TOTAL <Sex> DISTINCT People)
(Values On Data Point)
The problem is the sum of each stack is more than 100% . what's the reason?
Dear Arman,
Can you please add data table related to this query.
Thanks & Regards
Prince Anand
I can share some of the table...but is it because of the data or there is something wrong with my query?
How is it possible to have aggregate percentage more than 100%?
here is the sample file
Hi arman,
just reverse your expression.
make your denominator as numerator and vice versa.
Regards
KC
Thanks Buddy,
But i'm not sure i got what you said. Based on sample data i want to see the share of Remark Column (Active&Deactive) in the ValuableAtAll Column (Yes/No) .
So i added ValuableAtAll and Remark As the dimension. then i
COUNT(DISTINCT SubID)/Count(TOTAL<ValuableAtall> DISTINCT SubID)
in the expression
Hi arman,
try this:
Count(TOTAL<ValuableAtall> DISTINCT SubID)/COUNT(DISTINCT SubID)
Regards
KC
see what happened :
Hi Arman,
try this,hope it works
in Dimension:
Valuableatall
exp1:
Count({<REMARK={'Active'}>} SUB_ID)/Count(SUB_ID)
exp2:
Count({<REMARK={'Deactive'}>} SUB_ID)/Count( SUB_ID)
Regards
KC
Hi,
PFA.
Regards
KC