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

17 Replies
nizamsha
Specialist II
Specialist II

can u provide ur sample qvw so others can do if for u

arulsettu
Master III
Master III
Author

here is the app

alexandros17
Partner - Champion III
Partner - Champion III

... the example

arulsettu
Master III
Master III
Author

hi Alexandros17

using personal edition so cant open sorry for the inconvenience

alexandros17
Partner - Champion III
Partner - Champion III

Write this expression in the column %:

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

/

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

nizamsha
Specialist II
Specialist II

PFA

nizamsha
Specialist II
Specialist II

=(sum({$<Year={"$(=Max(Year))"}>}Cheque)-

sum({$<Year={"$(=Max(Year)-1)"}>}Cheque))/

sum({$<Year={"$(=Max(Year))"}>}Cheque)

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

arulsettu
Master III
Master III
Author

thanks all