Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Total percentage calculation

Hi I am trying to calculate the total percentage in this qva, any help would be appreciated.

I have attached the file.

10 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Use sum of rows option. by defaul it will be sum of expression.

Not applicable
Author

hi

ctheresa75

maybe you can help this to you

if(Dimensionality()=0,

sum(aggr([Monthly Goal]/sum(Total [Your Expression in Monthly Goal]),Dimensions)),

[Monthly Goal]/sum(Total [Your Expression in Monthly Goal]))

regard

GERNAN

narender123
Specialist
Specialist

HI

Select Chart Property->expression->Select Sum of rows button .

Try it.

Regards:

Narender

Not applicable
Author

Sum of option works for the other columns , see the total in the snap shot but not in the ‘Goal %”

Not applicable
Author

Thanks for getting back to this, well I try sum of row button, it gives the answer as 165% which Is wrong, supposed to be 20%.

Not applicable
Author

hi

ctheresa75

what is your expression in 'GOAL %' ?

please give to me

Not applicable
Author

hi

ctheresa75

i think like this ?

if(Dimensionality()=0,

sum(Total [Total Billed GP])/sum(Total [Your Expression in Monthly Goal]),

[Total Billed GP]/sum([Your Expression in Monthly Goal]))

regard

GERNAN

preminqlik
Specialist II
Specialist II

send your field name expression once ?...i mean GOAL % expression?

Not applicable
Author

Thanks I will try this and will respond.