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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
rsdhavle
Creator III
Creator III

Calculating 3 months average

I need to calculate average of previous 3 months. When i calculate by using formula (Sum(Rev) Feb + Sum(Rev) Jan + Sum(Rev) Dec) /3 somehow i am not getting correct values. Is this the wrong way to calculate it? as when i take data separately for each month in excel and divide it by 3 it gives different value

3 Replies
sujeetsingh
Master III
Master III

Try using set analysis.

Take logic from this thread

Re: Current Years Current Month Vs Last Year Same Month Sales

rsdhavle
Creator III
Creator III
Author

I have used set analysis in my expression still when i divide it by 3 then the values comes quite diferent

anbu1984
Master III
Master III

Can you post sample qvw?