Trends, rolling averages and running totals
See direction without being fooled by one good or bad month.
Sample data
Made-up data. If you have not loaded it yet, ask your assistant:
Load https://gotsimplified.com/samples/shop_orders.csv into my data lake as samples.shop_orders, replacing it if it already exists.
Download: shop_orders.csv
Try this
Show monthly revenue from shop_orders for the last 12 months with a 3 month rolling average.
Chart it.
Your assistant may word its answers differently each time; the numbers come from your tables.
What you should see
With the sample data. Use these to check the answer.
- August 2026 is the highest finished month at 8,353.
- April 2026 jumps 50.4% when a nearby cafe starts ordering.
- November is marked as so far.
What you need
The shop_orders model.
How to read the answer
The index column sets the first month to 100.
Good to know
A rolling average is left blank where a month in the window is missing or unfinished.