Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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?

17 Replies
Anonymous
Not applicable
Author

Thanks Manoj

I do not understand your recommendation, can you give me an example expression with the  QVW document atttached or  just post the expression.

Regards

jonathandienst
Partner - Champion III
Partner - Champion III

You can't use an aggregation function on a column label like that. Use an Aggr() instead:

=Sum({<Year={2013}>} QTY) / Sum({<Year={2012}>} QTY) / Avg(TOTAL Aggr(Sum({<Year={2013}>} QTY) / Sum({<Year={2012}>} QTY), ATCLevelThreeCode))

Your expression simplifies to the above. Leave it as a fraction and format it to display as %.

t1.png

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
manojkulkarni
Partner - Specialist II
Partner - Specialist II

find attached sample

Anonymous
Not applicable
Author

Thank you Jonathan

The Evolution Index is an index number and therefore should not be formatted as a percentage.  The Evolution Index was developed primarily to provide better understanding of the relative product/category  and market movements over time.  It results in 100, if, over a given period the product/category growth is the same as the market growth.  A number less than 100 indicates that the product/category is weaker than the market growth, while a number greater than 100 indicates growth stronger than that of the market.

For Antacids the Evolution Index should be :

(100 + (-6.37)) / (100 + 14.12) * 100

= 82

Regards

Anonymous
Not applicable
Author

Many thanks Manoj

The results from the attached applications give the wrong values.

For example, the Evolution Index for Blood Glucose lowering drugs, excl Insulins should be:

=(100 + (-9.23)) / (100 +14.12) * 100

= 80

as opposed to the figure of 90 shown in the application you recommended.  Please se my comments on the Evolution Index above in my reply to Jonathan.

Regards

manojkulkarni
Partner - Specialist II
Partner - Specialist II

find updated qvw

Anonymous
Not applicable
Author

Manoj

Thank you very much, this revised applications works well.

Regards

Anonymous
Not applicable
Author

Thanks Anand, most appreciated