Get started • Analytics

Open items and ageing

For tickets, invoices or orders that start on one date and close on another.

Sample data

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

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

Download: shop_tickets.csv

Try this

  • Save an analytics model named shop_tickets from samples.shop_tickets. The date column is opened. Measure tickets is the count of ticket_id.

  • How many tickets in shop_tickets were open at the end of each of the last 6 months, using the closed column?

  • Group the tickets that are still open by age.

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.

  • Open tickets rise from 9 at the end of August to 18 at the end of September.
  • 4 open tickets are over 90 days old.

How to read the answer

Open means started and not yet closed on that day.

Good to know

Ageing counts every row unless you ask for only open ones.