Oharra
Baimena behar duzu orria atzitzeko. Direktorioetan saioa has dezakezu edo haiek alda ditzakezu.
Baimena behar duzu orria atzitzeko. Direktorioak alda ditzakezu.
Sintaxis
Table.Keys(table as table) as list
Acerca de
Devuelve las claves de la tabla especificada.
Ejemplo
Obtenga la lista de claves de una tabla.
Uso
let
table = Table.FromRecords({
[Id = 1, Name = "Hello There"],
[Id = 2, Name = "Good Bye"]
}),
tableWithKeys = Table.AddKey(table, {"Id"}, true),
keys = Table.Keys(tableWithKeys)
in
keys
Salida
{[Columns = {"Id"}, Primary = true]}