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
karthikeyan1504
Creator III
Creator III

In number format, please check 'Show in percentage' option

Chanty4u
MVP
MVP

hi,

percntge.PNG

Anonymous
Not applicable

what respect you want?

you can do it, like

(CurrentMonth-PreviousMonth)

/

CurrentMonth

or

(CurrentMonth-PreviousMonth)

/

PreviousMonth

depends on your requirement

priyarane
Specialist
Specialist
Author

actula requirement for RWA% is

sum(rwa)/Sum(ead) then we will change it to % in number tab

but here we have current and previous both, so I have confused

karthikeyan1504
Creator III
Creator III

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

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

/

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

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

Try above and have the number format in percentage

Anonymous
Not applicable

Then I doubt for same that with mentioned expression you will get RWA%?

tyagishaila
Specialist
Specialist

Hi Priya,

If you want to show relative percentage (Row wise sum/ total sum)

check Option Relative (Chart properties -> Expression -> Click on checkbox Relative)

Anonymous
Not applicable

what is the mean of vPrevMonth w.r.t vPrevYear...??

I think It should be like..

vCurrMonth w.r.t vPrevYear...

or

vPrevMonth w.r.t vCurrYear...



priyarane
Specialist
Specialist
Author

def.png

I wanted show this, RWA/EAD = RWA%

above all not worked out