Table.CombineColumnsToRecord

语法

Table.CombineColumnsToRecord(table as table, newColumnName as text, sourceColumns as list, optional options as nullable record) as table

关于

table 的指定的列合并为名为 newColumnName 的新的记录值列,其中每个记录都具有与组合列的列名和值相对应的字段名称和值。 如果为 options 指定了记录,则可能会提供以下选项:

  • DisplayNameColumn:指定为文本时,指示给定列名称应视为记录的显示名称。 这不必是记录本身中的一个列。
  • TypeName:指定为文本时,为生成的记录提供一个逻辑类型名称,可供加载环境在数据加载过程中使用该名称来驱动行为。

results matching ""

    No results matching ""