Table.ColumnsOfType
Returnează o listă cu numele de coloane ce corespund tipurilor specificate.
Syntax
Table.ColumnsOfType(
table as table,
listOfTypes as list
) as list
Remarks
Returnează o listă cu numele de coloane din tabelul table ce corespund tipurilor specificate în listOfTypes.
Examples
Example #1
Returnează numele de coloane de tipul Number.Type din tabel.
Table.ColumnsOfType(
Table.FromRecords(
{[a = 1, b = "hello"]},
type table[a = Number.Type, b = Text.Type]
),
{type number}
)
Result:
{"a"}
Category
Table.Column operations