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: 
parpatra
Partner - Contributor III
Partner - Contributor III

Weighted Average

MonthLocationAB
1/1/2010A1015
1/1/2010B1520
1/1/2010C2025
2/1/2010A2530
2/1/2010B3035
2/1/2010C3540
3/1/2010A4045
3/1/2010B4550
3/1/2010C5055

Please help me with the expression.

MV=(A/B)*(365/Numberof days in month)

Avg=(MV1/31+MV2/28+MV3/31)/(31+28+31)

I am good with calculating MVs on chart but I need to show the avg in a pivot table for multiple selection of months.

Thanks in advance!!

1 Reply
parpatra
Partner - Contributor III
Partner - Contributor III
Author

Ok..I have the answer now...It was around tweaking the expression!!