ตัวอย่างการแปลง List ของ Record เป็น Table
let
SalesData =
{
[Product = "Product A", Region = "North", SalesAmount = 1000],
[Product = "Product A", Region = "South", SalesAmount = 2000],
[Product = "Product B", Region = "North", SalesAmount = 1500],
[Product = "Product B", Region = "South", SalesAmount = 2500]
},
SchemaFunction = () => type table
(
[
Product = text,
Region = text,
SalesAmount = number
]
),
SalesTable = List.ConformToPageReader(SalesData, SchemaFunction)
in
SalesTable
#table({'Product', 'Region', 'SalesAmount'}, {{'Product A', 'North', 1000}, {'Product A', 'South', 2000}, {'Product B', 'North', 1500}, {'Product B', 'South', 2500}})


