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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
coloful_architect
Creator II
Creator II

wrong number % of row at pivot table

Hi community,

I want to have a pivot table to show how much %  units for each business entity purchase from manufacturers.

I have this for my measurement: Sum([Pack Units])/sum(total<Manufacturer>[Pack Units])

when I click one particular business name, it returns

coloful_architect_0-1633644467133.png

but it should be 50% vs 50% like this ; 

coloful_architect_1-1633644501970.png

without selection, by default, it gives me % upon all manufacturer. so pretty much small weight like 1 or 2 % across all business.

what I miss? 

 

 

1 Solution

Accepted Solutions
kKoumoundouros
Partner - Contributor III
Partner - Contributor III

Try to change your expression measurement (the part of the total, instead Manufacturer use the Business Name

from Sum([Pack Units])/sum(total<Manufacturer>[Pack Units])

to Sum([Pack Units])/sum(total<[Business Name]>[Pack Units])

View solution in original post

1 Reply
kKoumoundouros
Partner - Contributor III
Partner - Contributor III

Try to change your expression measurement (the part of the total, instead Manufacturer use the Business Name

from Sum([Pack Units])/sum(total<Manufacturer>[Pack Units])

to Sum([Pack Units])/sum(total<[Business Name]>[Pack Units])