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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
brindlogcool
Creator III
Creator III

Average Calculation

Hi,

How to calculate the average in the pivot table and the straight table.

Consider i have below table.

Marketing GroupMarketing TeamLocationMonthWorking Days
AA1New YorkJan-1120
AA1New YorkFeb-1118
AA1New JerseyJan-1120
AA1New JerseyFeb-1118
AA2
AA3
BB1DCJan-1120
BB2
BB3

there are marketing team without location but active so i want to show only the Maketing Group and Marketing Team Which is having location  and average of working days. i tried to use Avg but it is giving wrong value. 

Considering the avg calculation  is A= 76/2= 38, but it is taking the avg by location and taking the avg og Marketing team. But it should be sum of Location and avg at marketing team

1 Reply
Jason_Michaelides
Partner - Master II
Partner - Master II

Try:

Avg(TOTAL <[Marketing Group],[Marketing Team]> [Working Days])

Hope this helps,

Jason