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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

avg a pivot chart data

I have a field called month and i need to avg the last two months data and the last two months data and next month data and so on how can i do this

Labels (1)
6 Replies
tresB
Champion III
Champion III

You could try something like:

=rangeavg (above(Sum(x),0,1))

Not applicable
Author

hi,

but i am not getting the exact answer

PFA

tresB
Champion III
Champion III

Small correction:

=rangeavg (above( Sum(MARC_FinMonth),0,2))

Not applicable
Author

there is no difference between both the statements, the data for both the statements are same

there is any error in the above expression that calculates the sum of monthend inventories 

tresB
Champion III
Champion III

PFA. Isn't this what you want?

Not applicable
Author

hi that works well but i have a another question to u

question is that i have three fields LABST, UMLME, 3pl stock i need the monthend closing stock for this fileds and i have a condition for 3pl stock i.e

RecieveDate <= MonthEnd & GRDate = “ ” or > MonthEnd