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

Average over a time series

I have data with daily values, plotted on a chart.  Show in the attached screenshot.   

I'd like to show this data as monthly average values, rather than each discrete point.  

What is the best way to achieve this?

Labels (1)
2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can use an As-Of table to create a running monthly average. See these pages for more information:


talk is cheap, supply exceeds demand
firmographs
Partner - Contributor III
Partner - Contributor III
Author

The solution ended up being the following.

In the load script, we created a new field.

Load *,
Month([Month Deal]) & ' ' & Year([Date Deal]) as [Month Year Deal];

We used this as a dimension in our chart and counted the items as our measure.  

Next challenge was since this is a string rather than a date our chart it wasn't sorting properly.  

To fix this in our bar chart, we sorted by max([Date Deal]).

All set!