Table.ExpandListColumn
This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.
Given a column of lists in a table, create a copy of a row for each value in its list.
Table.ExpandListColumn(table as table, column as text) as table
| Argument | Description |
|---|---|
| table | The Table to modify. |
| column | The column to expand. |
Table.ExpandListColumn(
Table.FromRecords(
{
[Name= {"Bob", "Jim", "Paul"}, Discount = .15]
}), "Name")
| Name | Discount |
|---|---|
| Bob | 0.15 |
| Jim | 0.15 |
| Paul | 0.15 |
Show: