Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Market Evolution Index Calculation

I need to calculate a market evolution index (EI 2014) based on the following data:

Screen Shot 2015-10-28 at 01.12.43.png

The (EI 2014) for the subgroup "DIRECT ACTING ANTIVIRALS" is calculated as follows:

EI 2014 = (100 + % Growth Rate '14 for the Subgroup) / (100 + Total % Growth Rate '14) * 100      which is

EI 2014 = (100 + 13.47) / (100 +26.76) * 100 = 89

A value under 100 means that the subgroup is growing less than the overall market.

How can i accomplish this with an expression in Qlikview?

Labels (1)
1 Solution

Accepted Solutions
manojkulkarni
Partner - Specialist II
Partner - Specialist II

17 Replies
swuehl
Champion III
Champion III

That's hard to answer without knowing how your expressions look like.

Assuming the percentages are really percentages, i.e. 13.47% is 0.1347, and assuming your % growth rate 14 column is based on a field [% Growth '14] in the data model, your expression could look like

= (1 + Only([% Growth '14]) ) / (1 + Avg(TOTAL [% Growth '14])) * 100

Probably my assumptions are all wrong...

MarcoWedel
MVP
MVP

please post a sample application.

regards

Marco

Anonymous
Not applicable
Author

Thanks Swuehl

The [% Growth '14] is a calculated column

Anonymous
Not applicable
Author

Many thanks Marco

i will create a sample application as the original one is too big.

Regards.

Anonymous
Not applicable
Author

Marco

Please find attached sample application.

Regards.

manojkulkarni
Partner - Specialist II
Partner - Specialist II

try to use TOTAL in first 2 expressions to get the Total Growth.

Not applicable
Author

Hi Christopher,

Try the below expression

=(100 +([% Growth '13]*100))/( (100 +((Sum (TOTAL {$<Year={2013},Month=>} QTY)/Sum (TOTAL{$<Year={2012},Month=>} QTY))-1)))*100


Regards

Anand

Not applicable
Author

Hi Christopher,

Try the below expression

=(100 +([% Growth '13]*100))/( (100 +((Sum (TOTAL {$<Year={2013},Month=>} QTY)/Sum (TOTAL{$<Year={2012},Month=>} QTY))-1)))*100

Not applicable
Author

Hi Christopher

Find the application with solution.

Regards,

Anand