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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

basic help for formulas

Hi,

For one of my crosstab I want to have a column like show the growth for a particular dimension, growth is precalulated in my data source sheet.

In short kind of where clause want to utilize like " growth where P = AT i tried to use if expression as -- If (P ='AT',Sum(growth) but dont think it is working it shows me the growth infront of that Dim only but i dont want to put that as column into my cross tab i need two exp. one is that i mentioned and second is the total growth with that where clause.

output cross tab like below -

Country NameAPPGrowthCalendar Year 2009Calendar Year 2010Calendar Year 2011Calendar Year 2012Calendar Year 2013
AustraliaAAT' Growth- %- %- %- %
Total Growth- %- %- %- %


Source table is something like that --

CountryYearAPPPRevGrowth
Brazil2009AEAD500
Brazil2009AEAT600
Brazil2009BLM110
Brazil2009BLAR440
Brazil2010AEAD500.045717
Brazil2010BLAT650.085709
Brazil2010AEAD490.04
Brazil2010AEAT600.0654
Brazil2010BLM100.235
Brazil2010BLAR450.235
Brazil2010AEAD700.045717
Brazil2010BLAT800.085709


<multiple countries there in source>

So for outpt first we need growth for AT only and in the next we need overall growth, kindly shed some light.

growth is calculated keeping base year as 2009 and based on Rev.

6 Replies
Not applicable
Author

tRY THIS

If (P ='AT',Sum(TOTAL growth)

Not applicable
Author

thanks for the reply ..

bt so sorry did not get this..could you please eloborate and also the structure is the problem how could i arrange this cross tab as with one expression i can.

Not applicable
Author

is this what you want? (Blue table)

Not applicable
Author

Thanks Jochem for efforts.

yes structure would be something like that or i can manage accordingly(exact have pasted below)

would you please eloborate on formulas so I can check with actual data.. sry but m not dig dipper in QV reporting.

CountryAppGrowthYear 2009Year 2010Year 2011
BrazilAEAT growth%%
Total Growth%%


Not applicable
Author

some help pls.

suniljain
Master
Master

you have to implement it in script level otherwise in desin level its take too much time for calculation.