Condividi tramite


Table.SingleRow

Sintassi

Table.SingleRow(table as table) as record

Informazioni

Restituisce la singola riga nella riga unica table. Se ha table più righe, viene generato un errore.

Esempio

Restituire l'unica riga della tabella.

Utilizzo

Table.SingleRow(Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"]}))

Output

[CustomerID = 1, Name = "Bob", Phone = "123-4567"]