Skip to main content

Table.SingleRow

Tiek atgriezta viena rinda tabulā.

Syntax

Table.SingleRow(
table as table
) as record

Remarks

Tiek atgriezta viena rinda vienā rindā table. Ja table ietver vairākas rindas, tiek izraisīta kļūda.

Examples

Example #1

Atgrieziet atsevišķu rindu tabulā.

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

Result:

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

Category

Table.Row operations