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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to calculate percentage

I have 3 fields.

%Growth,%GrowthCY and TotalFTECY

TotalFTECY=3735

%GrowthCY=100%

%GrowthNY = 3%


now I need to calculate TotalFTENY


So basically it is (3735*3)/100

How can I do this in qlikview?

Thanks much.

11 Replies
sunny_talwar

Try this in that case:

(Num#(KeepChar([TotalFTECY], '0123456789'), '##') * Num#(KeepChar([%GrowthNY], '0123456789'), '##'))/100 AS [TotalFTENY]

Not applicable
Author

Hi,

Try as below and see the result,

LOAD TotalFECY,

     %GrowthNY,

     %GrowthCY,

     ([TotalFECY]*[%GrowthNY])/[%GrowthCY] as TotalFTENY

FROM

(biff, embedded labels, table is Sheet1$);

Result:

Capture1.JPG

Thanks,

Mahesh