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: 
Silambarasan1306
Creator III
Creator III

How Can i Calculate Profit Each Year for the below data..??

I have data like this,

YearRevenue
2007119793.1348
20081153955.049
20093058935.989
20104891124.586
20113562331.138
2012535098.1727

BudgetYearBudgetAmount
20087000
2009177000
2010375000
2011570000
2012710000

Dont have budget amount for 2007.

1. How can i calculate Profit for Each Year.

2. Also tell me how can i hide the 2007 revenue values.

                                                           Can anyone help me ??

5 Replies
sunny_talwar

How would you calculate profit outside of QlikView using the data provided? I would think profit  = Revenue - Cost. What is your cost here??? or do you want Revenue - Budget?

Anonymous
Not applicable

try like this?

MainTable:

Load

Year,

Revenue

From Table

where Year>2007;

concatenate(MainTable)

Load

BudgetYear as Year,

BudgetAmount

From Table1;

I am assuming Profit is calculated is like : Revenue - BudgetAmount

Take Year as a Dimension and above expression as a Measure

Hope this will help!!

Anonymous
Not applicable

Revunue - Budget amount

Silambarasan1306
Creator III
Creator III
Author

  If i'm concatenating, values coming like this, because the years are not matching. If years matching values will be change. how to do this..???  i also need 2007.

Year
2008
2009
2010
2011
2012
2007
2008
2009
2010
2011
2012
Silambarasan1306
Creator III
Creator III
Author

Yaa that's the concept. Revenue-BudgetAmount