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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
ValeriaBonini
Partner - Creator
Partner - Creator

Average for Sales Area

Hi, I have a table like this

NAME     AREA         SALES      SALES%                                                                             AVG % Sales per area

name1    area1           10            sum(sales)/sum( total <NAME> sales)                  ???????

name2    area1           10

name3    area2         20

name4    area3        30

name5    area3        5

name6    area3           10  

 

 

How can I calculate the average % sale for Area?  

 

4 Replies
Chanty4u
MVP
MVP

Try this expression

sum(SALES) / sum(total <AREA> SALES)

 

anat
Master
Master

 

Sum(sales) /Sum({1} Total sales) 

Chanty4u
MVP
MVP

Try this 

Avg({<AREA>} SALES_PERCENTAGE)

 

vinieme12
Champion III
Champion III

this is a something that you may want to confirm with your users

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.