Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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.