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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
tracycrown
Specialist
Specialist

% computation

Dear all

Can someone help to enlightern me on how to compute the % in yellow below:

For example: Travel / School Fees = 25,000/500,000 = 5%

Desired Output
DescJan-10Jan-10
Actual%
School Fees500,000100.0%
Travel25,0005.0%
Stationery50,00010.0%
Salaries350,00070.0%
Total425,00085.0%


Thanks for your quick response, please send me a example QV file. Attached is an excel input file.

Tracy

Labels (1)
12 Replies
Not applicable

Hi Tracy

Do u wants like this? See this attachment.

Thanks

Zaman

tracycrown
Specialist
Specialist
Author

Dear Zaman

At least this method do not require any creation of memory variable (same as Kevin's idea). I am still don't understand how to generate the following scripts, can you describe the steps :

FROM

(

biff, embedded labels, table is Sheet1$, filters

(Remove (Row, Pos(Top, 1)),

Remove

(Row, Pos(Top, 2)),

Transpose

(),

Remove

(Col, Pos(Top, 6))));

Thank you very much for your help, Tracy





tracycrown
Specialist
Specialist
Author

Dear all

Can someone help to explain why and how to do the following in script :

(Remove (Row, Pos(Top, 1)), Remove

(Row, Pos(Top, 2)),

Transpose

(),

Remove

Thank you very much, Tracy

(Col, Pos(Top, 6))));