Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

DATA Representing in percentages

Hi,

Can any body help me experts.

i have a object like

But i need to display the percentages means John Greg value = 15,173,907. i can be represented in what percentage in 100%.

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

You could use relative option or

Sum({$<Year={$(=Max(Year)), $(=Max(Year)-1)}>}  Sales) / Sum({$<Year={$(=Max(Year)), $(=Max(Year)-1)}>}TOTAL  Sales)

and check the percentage in number format tab.

View solution in original post

9 Replies
Anonymous
Not applicable
Author

Hi,

let the expression in the bar chart be (value/sum(Total value)) * 100.

HTH.

Ravi N.

Not applicable
Author

Hi, Actually in this bar chart i use the expression

Sum({$<Year={$(=Max(Year)), $(=Max(Year)-1)}>}  Sales / $(vCurrency))

Then how can i do the percentage representation

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Check the "relative" property in the Expression definition.

-Rob

Not applicable
Author

Hi Rob Wunderlich,

sorry i can't understand

Can you please explain briefly???

anbu1984
Master III
Master III

Select Relative checkbox in Expressions tab

Relative in Expressions tab.png

CELAMBARASAN
Partner - Champion
Partner - Champion

You could use relative option or

Sum({$<Year={$(=Max(Year)), $(=Max(Year)-1)}>}  Sales) / Sum({$<Year={$(=Max(Year)), $(=Max(Year)-1)}>}TOTAL  Sales)

and check the percentage in number format tab.

Not applicable
Author

you can check the Relative checkbox in Expression tab of properties and all the number will be shown in percentage.

Anonymous
Not applicable
Author

Hi,

It works either way. U can either select relative tab or u can use an expression that outputs a percentage..

Regards,

Ravi N.

Not applicable
Author

Hi Celambarasan Adhimulam.

Thank you So much i got the answer

Thank you all for helping me..