Top and bottom
Rank the biggest and smallest groups, with each group's share of the total.
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
What were the top 3 products by revenue last month in shop_orders?
Your assistant may word its answers differently each time; the numbers come from your tables.
What sells best?
What is it?
A winners' table.
How does it work?
It adds up each group and puts them in order, with each one's share.
Good to know
'Everything else' holds the rest so the total still adds up.
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 region sells the least overall?"