Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
How can i calculate below table average by Segment.
It is must be,
Commercial | 1.50 |
Middle Market | 2.00 |
Risk Management | 1.50 |
This is my Expressions and table
count(distinct if(AMOUNT>0 AND TYPE='ACTUAL', SPECIALTY))
Hi,
just add your client dimension
=Avg(Aggr(Count({<AMOUNT = {">0"}, TYPE = {'ACTUAL'}>}distinct SPECIALTY), SEGMENT,CLIENT))
for the total just enable total check box on your straight table --> dimension limit tab section.
Hi,
Can u try like below,
=Avg(aggr(count(distinct if(AMOUNT>0 AND TYPE='ACTUAL', SPECIALTY)),SEGMENT))
or try other way simplified using set analysis method
=Avg(Aggr (count({$<AMOUNT={">0"}, TYPE={'ACTUAL'}>} distinct SPECIALTY),SEGMENT))
if still have a issue, share the mock data. thanks
also check this Hic article,
Looks correct, but probably more efficient to use
=Avg(Aggr(Count({<AMOUNT = {">0"}, TYPE = {'ACTUAL'}>}distinct SPECIALTY), SEGMENT))
can you provide sample data???
Regards,
Hi,
can your share your mock data in excel format? that would be easy for us to check and help you
Hi,
just add your client dimension
=Avg(Aggr(Count({<AMOUNT = {">0"}, TYPE = {'ACTUAL'}>}distinct SPECIALTY), SEGMENT,CLIENT))
for the total just enable total check box on your straight table --> dimension limit tab section.
Thanks Devarasu