Pivot table
Cross two things in one table, with totals along the rows and columns.
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
Make a pivot of last month's revenue in shop_orders: region down, category across.
Your assistant may word its answers differently each time; the numbers come from your tables.
Two things at once
What is it?
A grid: regions down the side, products across the top.
How does it work?
Each box shows the number for that pair, with totals at the edges.
Good to know
Too many columns make it hard to read.
Before you start
Load the shop sample files and save the shop_orders model first. The 'Save a model' page shows how.
Make it yours
Your assistant needs the real names. Replace the table and column names in the prompt above with yours. If you are not sure of them, ask first: "Describe my table called orders."
Then ask
Each question builds on the last answer. Ask follow-ups in plain words.
"Which box is the biggest?"