Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
priyarane
Specialist
Specialist

Percentage expression

Hi Community,

How to get percentage for this expression in straight table

(sum({<%Month = {'$(=$(=vCurrMonth))'}, %Year = {'$(=$(=vCurrYear))'}>}RWA)

/sum({<%Month = {'$(=$(=vCurrMonth))'}, %Year = {'$(=$(=vCurrYear))'}>}EAD))

-

(sum({<%Month = {'$(=$(=vPrevMonth))'}, %Year = {'$(=$(=vPrevYear))'}>}RWA)

/sum({<%Month = {'$(=$(=vPrevMonth))'}, %Year = {'$(=$(=vPrevYear))'}>}EAD))

15 Replies
Anonymous
Not applicable

From your snap shot, it seems you are having label EAD and RWA of both expression, is it?

If yes, simply write:

Label of RWA expression i.e RWA / EAD(Label of EAD expression)

and then select relative from Expression Tab for this expression

Hope this will help!!

Anonymous
Not applicable

see the attachment

tyagishaila
Specialist
Specialist

did you not get any value in RWA% column, or you get wrong values.

if you get values thn to convert these values into %

go to Chart Propertis -> Number -> Click check box Show in Percentage.

priyarane
Specialist
Specialist
Author

in this case percentages are wrong

rwa/ead * 100

Anonymous
Not applicable

no need to multiply by 100..

Just divide RWA label / EAD Label

and select relative option for that expression

tyagishaila
Specialist
Specialist

use Show in Percentage,

are you using correct formula to get RWA%,

it may be, RWA / (RWA+EAD)