Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Ratio Calculation

Hi Friends

DESCRIPTIONACTUAL    2014Actual RatioACTUAL    2013Actual Ratio
SALES7,332,885100967,954100
LABOUR339,5275222,2625
MATERIAL831,33811338,96911
COMMISSION890,1251275,00012
GROSS_PROFIT5,271,89672331,72272
STAFF_EXP853,4941240,00012
ADMIN_EXP857,4511280,00012
SELLING_EXP509,6397100,0007
TOTAL_EXPENSES2,220,58430220,00030
OTH_INCOME40,000140,0001
NET_PROFIT3,091,31242151,72242

I have calculated Actual Ratio bases on the Sales Value of Each Year for 2014 and 2013.But The calculation returns the same ratios for  both years . Kindly have look at my QV document and help me to correct the expression to suit my requirement

Ex

Labour/Sales *100    339527/7332885*100=5%

Marerial/Sales*100     831338/7332885*100=11%

20 Replies
jyothish8807
Master II
Master II

Hi Upali,

In a single go if you want to display ratio for more that one year then you have you create different variable of that as per my knowledge.Other wise you can do $(vYear)+1 for next year and so on.So when you select 2013 it will show the output for all the years.

It may help.Right now i amusing PE so cant open your app.

Regards

KC

Best Regards,
KC