<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ExpandRecordColumn versus ExpandListColumn in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/ExpandRecordColumn-versus-ExpandListColumn/m-p/459859#M6483</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/64767"&gt;@john_dawson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can use this function instead:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(Table as table, ColumnName as text) =&amp;gt;
Table.ExpandRecordColumn(Table, ColumnName, Record.FieldNames(Table.Column(Table, ColumnName){0}))&lt;/PRE&gt;&lt;P&gt;It automatically expands all fields of the records that are found in the first rows record.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the records are different and the names of all records within that column have to be taken into account, you can use this function instead:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;= (Table as table, ColumnName as text) =&amp;gt;
Table.ExpandRecordColumn(Table, ColumnName, Record.FieldNames(Record.Combine(Table.Column(Table, ColumnName))))&lt;/PRE&gt;&lt;P&gt;might be a bit slower then&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jul 2018 13:06:02 GMT</pubDate>
    <dc:creator>ImkeF</dc:creator>
    <dc:date>2018-07-11T13:06:02Z</dc:date>
    <item>
      <title>ExpandRecordColumn versus ExpandListColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/ExpandRecordColumn-versus-ExpandListColumn/m-p/459840#M6482</link>
      <description>&lt;P&gt;Problem: when expanding a JSON dataset, programmatically, you can expand a list of Tables using Table.ExpandListColumn, specifying only the column name to be expanded, which is fine. But if you want to expand a list of Records, you seem to have to specify the column names manually. It would be preferable, to have a more generic, less fragile, solution, that would allow you request all columns, without needing to name them, or at least to use a function that could return those column names, before expansion, so to speak. Is this possible?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 12:52:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/ExpandRecordColumn-versus-ExpandListColumn/m-p/459840#M6482</guid>
      <dc:creator>john_dawson</dc:creator>
      <dc:date>2018-07-11T12:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: ExpandRecordColumn versus ExpandListColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/ExpandRecordColumn-versus-ExpandListColumn/m-p/459859#M6483</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/64767"&gt;@john_dawson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can use this function instead:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(Table as table, ColumnName as text) =&amp;gt;
Table.ExpandRecordColumn(Table, ColumnName, Record.FieldNames(Table.Column(Table, ColumnName){0}))&lt;/PRE&gt;&lt;P&gt;It automatically expands all fields of the records that are found in the first rows record.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the records are different and the names of all records within that column have to be taken into account, you can use this function instead:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;= (Table as table, ColumnName as text) =&amp;gt;
Table.ExpandRecordColumn(Table, ColumnName, Record.FieldNames(Record.Combine(Table.Column(Table, ColumnName))))&lt;/PRE&gt;&lt;P&gt;might be a bit slower then&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 13:06:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/ExpandRecordColumn-versus-ExpandListColumn/m-p/459859#M6483</guid>
      <dc:creator>ImkeF</dc:creator>
      <dc:date>2018-07-11T13:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: ExpandRecordColumn versus ExpandListColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/ExpandRecordColumn-versus-ExpandListColumn/m-p/459896#M6484</link>
      <description>&lt;P&gt;Neat! Thanks very much, ImkeF&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 13:38:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/ExpandRecordColumn-versus-ExpandListColumn/m-p/459896#M6484</guid>
      <dc:creator>john_dawson</dc:creator>
      <dc:date>2018-07-11T13:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: ExpandRecordColumn versus ExpandListColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/ExpandRecordColumn-versus-ExpandListColumn/m-p/778079#M11394</link>
      <description>&lt;P&gt;Woo-hoo, thank you! The first function worked for me!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 15:32:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/ExpandRecordColumn-versus-ExpandListColumn/m-p/778079#M11394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-28T15:32:41Z</dc:date>
    </item>
  </channel>
</rss>

