Get started • Machine learning

Find what drove a change

A total went up or down between two periods. See who was behind it.

Sample data

Made-up data. If you have not loaded it yet, ask your assistant:

"Load https://gotsimplified.com/samples/daily_sales.csv into my data lake as samples.daily_sales, replacing it if it already exists."

Download: daily_sales.csv

Try this

"Which store drove the change in units between 2026-04-06 and 2026-05-04 in samples.daily_sales?"

Your assistant may word its answers differently each time; the numbers come from your tables.

What you need

A date column, a number column and a group column.

How to read the answer

The changes of all groups add up to the whole change.

Good to know

Periods follow the data: with daily data you compare two days.

What you can adjust

  • The two periods.
  • How many groups to list.