Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I need to work out the percentage using set analysis, but my understanding of set analysis isn't great.
Simplified example:
I have used set analysis to count the total enquiries sent to InsurerA; this gives me the following outcome:
Reason | No of Enquiries Sent | Percentage |
---|---|---|
Total | 3 | 100% |
No Quote | 1 | 33.33% |
Quoted & Won | 1 | 33.33% |
Quoted & Lost | 1 | 33.33% |
Expression behind No of Enquiries Sent:
=Sum({$<Insurer = {InsurerA}>}1)
Can anyone suggest an expression for the percentage column?
Thank you
Try any of below and let me know ...
Count({<Insurer = {'InsurerA'}>}Insurer)/Count(TOTAL {<Insurer = {'InsurerA'}>}Insurer)
or
Count({<Insurer = {'InsurerA'}>}Insurer)/Count(ALL {<Insurer = {'InsurerA'}>}Insurer)
or
Count({<Insurer = {'InsurerA'}>}Insurer)/Count(TOTAL Insurer)
or
Count({<Insurer = {'InsurerA'}>}Insurer)/Count(ALL Insurer)
=Sum({$<Insurer = {InsurerA}>}1)/Sum(TOTAL {$<Insurer = {InsurerA}>}1)
or
=Sum({$<Insurer = {InsurerA}>}1)/Sum(ALL {$<Insurer = {InsurerA}>}1)
Sum({$<Insurer = {InsurerA}>}1)
/
Sum(Total{$<Insurer = {InsurerA}>}1)
Regards
Thank you Manish and Max for your suggestions, but unfortunately they haven't worked.
I'm starting to think that there may be a problem with the way I have collated my data!
Try any of below and let me know ...
Count({<Insurer = {'InsurerA'}>}Insurer)/Count(TOTAL {<Insurer = {'InsurerA'}>}Insurer)
or
Count({<Insurer = {'InsurerA'}>}Insurer)/Count(ALL {<Insurer = {'InsurerA'}>}Insurer)
or
Count({<Insurer = {'InsurerA'}>}Insurer)/Count(TOTAL Insurer)
or
Count({<Insurer = {'InsurerA'}>}Insurer)/Count(ALL Insurer)
Count({<Insurer = {'InsurerA'}>}Insurer)/Count(TOTAL {<Insurer = {'InsurerA'}>}Insurer) - worked perfectly!
Thank you so much for your help!