Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
arulsettu
Master III
Master III

percentage in straight table

hi

i am having three years sale in straight table

like 2003 2004 2005

now i need show the percentage ho can i do that?

Capture.PNG.png

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

Write this expression in the column %:

sum({<Year={$(=max(Year))}>}Cheque)

/

sum({<Year={$(=max(Year)-1)}>}Cheque)

View solution in original post

17 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Column(2)/Column(3) gives you the percentage of 2005 on 2004, go in Numbers tab and set this new column to decimal and check show in percentage box

arulsettu
Master III
Master III
Author

Capture.PNG.png

i think not working. any expression for the percentage?

nizamsha
Specialist II
Specialist II

num((currentyr-lastyr)/currentyr,'#,##.00%')

arulsettu
Master III
Master III
Author

it showing 10% for every row

alexandros17
Partner - Champion III
Partner - Champion III

Not integer, set to decimal with 2 deciìmal digits,

let me know

nizamsha
Specialist II
Specialist II

In number format fixed to 2 decimal and check show in percentage

nizamsha
Specialist II
Specialist II

not integer fixed to 2 decimal and check the show percentage option

arulsettu
Master III
Master III
Author

are we calculating percentage for two years?

arulsettu
Master III
Master III
Author

Capture.PNG.png

looking for result like this

Capture.PNG.png