function (table
as table,columns
as list,isPrimary
as logical) as table
table
, given columns
is the subset of table
's column names that defines the key, and isPrimary
specifies whether the key is primary.Table.FromRecords({[Id = 1, Name = "Hello There"], [Id = 2, Name = "Good Bye"]}, { "Id", "Name" })