Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
vikas_nandanwar
Creator II
Creator II

Average - Department level Sum

Hi,

My data is as below -

 

DateDeptTotal
1-JanA100
1-JanB90
1-JanC 500
2-JanA110
2-JanB70
2-JanC 480
3-JanA150
3-JanB50
3-JanC 580
4-JanA120
4-JanB60
4-JanC 510
5-JanA180
5-JanB50
5-JanC 550

Pivot -

  

Row LabelsSum of Total
1-Jan690
2-Jan660
3-Jan780
4-Jan690
5-Jan780
Grand Total

3600

I want Average of Total of Date in Grand Total

Answer = 720

please help

23 Replies
vikas_nandanwar
Creator II
Creator II
Author

Hi Stefen,

I got the correct expression yesterday

Thanks anyways for the help.

Vikas

Anil_Babu_Samineni

Great, Please close this thread Qlik Community Tip: Marking Replies as Correct or Helpful

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
vikas_nandanwar
Creator II
Creator II
Author

Hi,

I have a drill down in my data
Co., Sub Co.

When I use the expression -

=Avg( Aggr( Sum(Total), Date, Co., Sub Co.))


I do not get the desired output

Anil_Babu_Samineni

Please open new thread

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful