<?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: Appending Queries and adding Source-Query  Name (query list too long for manual input) in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/Appending-Queries-and-adding-Source-Query-Name-query-list-too/m-p/1031425#M34945</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you could create some M-code that generates a table with the column names:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = 
    #table({"Query", "Sourcename"}, 
        {
            {#"Table", "Table"}, 
            {#"Table2", "Table2"}
        })
in
    Source&lt;/LI-CODE&gt;
&lt;P&gt;Then expand out the fields from the columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usually, one would go the other way around and start from a table with the source names (and the connection to their sources), apply a function that transforms them all and expands the column there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Apr 2020 04:38:27 GMT</pubDate>
    <dc:creator>ImkeF</dc:creator>
    <dc:date>2020-04-17T04:38:27Z</dc:date>
    <item>
      <title>Appending Queries and adding Source-Query  Name (query list too long for manual input)</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Appending-Queries-and-adding-Source-Query-Name-query-list-too/m-p/1029817#M34891</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm appending a very long list of queries (60+), with complex names. In the Append1 result table, I would like to still be able to filter between the original queries.&lt;/P&gt;&lt;P&gt;Does anyone know a way to avoid having to manually add a new Source.Query column with a custom string with the name, for each query?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pietro&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 09:56:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Appending-Queries-and-adding-Source-Query-Name-query-list-too/m-p/1029817#M34891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-16T09:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Appending Queries and adding Source-Query  Name (query list too long for manual input)</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Appending-Queries-and-adding-Source-Query-Name-query-list-too/m-p/1031425#M34945</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you could create some M-code that generates a table with the column names:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = 
    #table({"Query", "Sourcename"}, 
        {
            {#"Table", "Table"}, 
            {#"Table2", "Table2"}
        })
in
    Source&lt;/LI-CODE&gt;
&lt;P&gt;Then expand out the fields from the columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usually, one would go the other way around and start from a table with the source names (and the connection to their sources), apply a function that transforms them all and expands the column there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 04:38:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Appending-Queries-and-adding-Source-Query-Name-query-list-too/m-p/1031425#M34945</guid>
      <dc:creator>ImkeF</dc:creator>
      <dc:date>2020-04-17T04:38:27Z</dc:date>
    </item>
  </channel>
</rss>

