Sample Tables

Every example on this site transforms one of the tables below. Instead of building a throwaway table with Table.FromRecords each time, we reference these shared datasets by name — just like you would with a real data source in Power Query.

Sales

8 columns · 8 rows

Sample sales order data

Schema

OrderIDnumberCustomerNametextProducttextCategorytextUnitPricenumberQuantitynumberOrderDatedateRegiontext
OrderID
CustomerName
Product
Category
UnitPrice
Quantity
OrderDate
Region
11AliceWidget AWidgets2541/15/2024East
22BobGadget BGadgets5021/18/2024West
33CharlieWidget CWidgets15102/1/2024East
44AliceGadget DGadgets7512/10/2024North
55DianaWidget AWidgets2563/5/2024West
66BobThingamajig EMisc12013/12/2024East
77CharlieGadget BGadgets5034/1/2024West
88DianaWidget CWidgets1584/15/2024North

Customers

6 columns · 4 rows

Sample customer data

Schema

CustomerIDnumberNametextEmailtextCitytextStatetextJoinDatedate
CustomerID
Name
Email
City
State
JoinDate
11Alicealice@example.comNew YorkNY3/15/2022
22Bobbob@example.comChicagoIL6/1/2022
33Charliecharlie@example.comHoustonTX1/20/2023
44Dianadiana@example.comSeattleWA9/10/2023

Products

5 columns · 5 rows

Sample product catalog

Schema

ProductIDnumberProductNametextCategorytextPricenumberInStocklogical
ProductID
ProductName
Category
Price
InStock
11Widget AWidgets25TRUE
22Gadget BGadgets50TRUE
33Widget CWidgets15FALSE
44Gadget DGadgets75TRUE
55Thingamajig EMisc120FALSE

Employees

7 columns · 6 rows

Sample employee directory with mixed-case names and phone numbers

Schema

EmployeeIDtextFullNametextDepartmenttextTitletextHireDatedateSalarynumberPhonetext
EmployeeID
FullName
Department
Title
HireDate
Salary
Phone
1E001alice smithSalesSales Rep3/15/202155,000(555) 123-4567
2E002BOB JONESEngineeringSr. Engineer7/1/201995,000(555) 234-5678
3E003Charlie BrownMarketingMarketing Lead1/10/202272,000(555) 345-6789
4E004diana PRINCEEngineeringEngineer6/20/202368,000(555) 456-7890
5E005Eve MartinezSalesSales Manager11/5/201888,000(555) 567-8901
6E006frank leeMarketingAnalyst2/14/202452,000(555) 678-9012

OrderLog

6 columns · 8 rows

Sample order event log with timestamps and durations

Schema

LogIDtextOrderIDnumberActiontextTimestampdatetimeDurationMinutesnumberNotestext
LogID
OrderID
Action
Timestamp
DurationMinutes
Notes
1L0011Created1/15/2024 9:30:00 AMnullNew order: Widget A
2L0021Shipped1/16/2024 2:15:00 PM1,725Shipped via express
3L0032Created1/18/2024 11:00:00 AMnullNew order: Gadget B
4L0042Shipped1/20/2024 8:45:00 AM2,745Standard shipping
5L0053Created2/1/2024 4:20:00 PMnullNew order: Widget C
6L0063Cancelled2/2/2024 10:05:00 AM1,065Customer request
7L0074Created2/10/2024 1:00:00 PMnullNew order: Gadget D
8L0084Shipped2/12/2024 9:30:00 AM2,670Shipped via express

How examples reference these tables

When you see a code example like the one below, Sales refers to the Sales table shown above. Every example starts from one of these shared tables so you can focus on what the function does, rather than deciphering a Table.FromRecords wall of text.

Table.SelectRows(Sales, each [Region] = "East")