Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
srinivasmuriki
Contributor
Contributor

Variance

I have a data table where a column has Net Interest Income, Net Fee Income and Revenues. I need to calculate a field equivalent to the above like, Other Revenues. Where Other revenues = Revenues - Net Interest Income and Net Fee Income.

 

Can some one help please.

1 Reply
bhaskar_sm
Partner - Creator III
Partner - Creator III

Hi,

you can create an additional calculated column or derived column based on your existing columns by using load script or on visualization using calculated fields. I would recommend calculating this column in the load script: 

sample data I have created to depict this :

i am assuming the formula for calculating other revenues is 

[Other revenues] = Revenues - ([Net Interest Income] +[Net Fee Income])

 Net Interest IncomeNet Fee Income RevenuesOther revenues
4045420335
4547343251

 

Script:

LOAD
" Net Interest Income",
"Net Fee Income",
Revenues,
 Revenues - (" Net Interest Income" +"Net Fee Income") as [Other revenues]
FROM [lib://DWN/community1.xlsx]
(ooxml, embedded labels, table is Sheet1);

 

tttttt.JPG

 

I hope this will help solve your problem.