Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
kristeljoymalapitan

how to get total percentage in a measures?

Hi,

I have below scenario and I need to get/show only the total ratio (0.36%)  and put in a gauge graph. However per using AVG function I only got 0.34%

When I removed the factorate column coverage amount and ratio  column ended blank.

I need your help on this.

factorate (dimension)sum of net (measures)coverage amount(factorate * sum of net )PD amount(measures)ratio (coverage amount / PD amount)*100
0.01022,000 2020,0000.1%
0.02956,00017730,0000.59%
0.06633,00019960,0000.33%
 11,000396110,0000.36%
1 Solution

Accepted Solutions
Arthur_Fong
Partner
Partner

Try this:

(SUM({<ASSETTYPE = {'USED'},[CLASSIFICATION] = {'PD','LEAGAL'}>} [sum_of_NET]*[FACTORATE])) 

View solution in original post

8 Replies
Arthur_Fong
Partner
Partner

There you go:

clipboard_image_0.png

You can use conditional to determine the dimensionality for total and non-total columns and set your expression accordingly.

 

Qvw attached for reference.

Thanks and regards,

Arthur Fong

Lisa_P
Employee
Employee

Average is 34%

kristeljoymalapitan
Author

Hi,
The real computation behind my Coverage Amount is below (meaures expression)
(SUM({<ASSETTYPE = {'USED'},[CLASSIFICATION] = {'PD','LEAGAL'}>} [sum_of_NET])) * [FACTORATE]

How can I apply your suggestion to above query

Thank you
Arthur_Fong
Partner
Partner

Try this:

(SUM({<ASSETTYPE = {'USED'},[CLASSIFICATION] = {'PD','LEAGAL'}>} [sum_of_NET]*[FACTORATE])) 

View solution in original post

Surya
Creator II
Creator II

first return expression A/B*100

and then go for number tab and we have an option percentage click on that check box..u got

Brett_Bleess
Support (Former)
Support (Former)

Kristel, did any of the posts help you get things resolved?  If so, please consider using the Accept as Solution button on any of them that were of help to getting your working solution, as this will give those posters credit for the help, and it will also let other members know what actually worked for your use case.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
kristeljoymalapitan
Author

Thanks Jkfong93 , it works! 😄

kristeljoymalapitan
Author

 Sorry for late response as I am on the field on previous days, Already accept solution. Thank you all for the help 🙂