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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
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

6 Replies
tresesco
MVP
MVP

You could try something like:

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

Not applicable
Author

hi,

but i am not getting the exact answer

PFA

tresesco
MVP
MVP

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 

tresesco
MVP
MVP

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