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

Percentages of total subdimension

Hello

I have the following Table:

Instead of the number of the dimensión GRUPO_SERVICIO I want to have the porcentages that this number represents according to the sum.

Example for the TIENDA COPYFACTORY Instead of have GDF=4,845 METROBUS=85 etc. I want to have the porcentage that these numbers represent according to the total 5,997

Please Help

Thanks in advance

22 Replies
Not applicable
Author

ALL IS 0

sunny_talwar

I understand what you are aiming for, but not sure why it isn't working. Would you be able to share a sample with us?

Not applicable
Author

Hi

Sorry I dont understand you well, what do you refer with and example, what you need?

Thanks for your help

sunny_talwar

A sample qvw file to see the issue?

ramoncova06
Partner - Specialist III
Partner - Specialist III

in theory this should work

Count(TOT_TRAN)/Count(Total <GRUPO_SERVICIO> TOT_TRAN)

sunny_talwar

I agree

Not applicable
Author

Not it´s not working...Give me a bucnh of 0's

ramoncova06
Partner - Specialist III
Partner - Specialist III

are you applying any rounding ?

have you checked in the number properties and enabled % ?

ramoncova06
Partner - Specialist III
Partner - Specialist III

sorry forgot that the grouping is done by store, so switch it to store instead of servicios


Count(TOT_TRAN)/Count(Total <Tienda> TOT_TRAN)

Not applicable
Author

Great Ramón It's working:

Only one Question Left:

It its posible to have the lasto column with the total of transacctions and not with the 100%???