<?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: Allowing schema drift in Gen 2 Flow combining all files in a folder in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/Allowing-schema-drift-in-Gen-2-Flow-combining-all-files-in-a/m-p/4616246#M4941</link>
    <description>&lt;P&gt;Thanks miguel,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure - this is the 'Transform Sample Query' step:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;let&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp; Source = Csv.Document(Parameter, [Delimiter=&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN&gt;, Columns=&lt;/SPAN&gt;&lt;SPAN&gt;22&lt;/SPAN&gt;&lt;SPAN&gt;, Encoding=&lt;/SPAN&gt;&lt;SPAN&gt;65001&lt;/SPAN&gt;&lt;SPAN&gt;, QuoteStyle=QuoteStyle.None]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp; #"Removed top rows" = Table.Skip(Source, &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp; #"Promoted headers" = Table.PromoteHeaders(#"Removed top rows", [PromoteAllScalars = &lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp; #"Promoted headers"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 19 Mar 2025 11:53:14 GMT</pubDate>
    <dc:creator>poinfrettia</dc:creator>
    <dc:date>2025-03-19T11:53:14Z</dc:date>
    <item>
      <title>Allowing schema drift in Gen 2 Flow combining all files in a folder</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Allowing-schema-drift-in-Gen-2-Flow-combining-all-files-in-a/m-p/4616130#M4939</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Gen 2 Flow which combines all files in a folder. All files contain the same key columns, but not always in the same order - and some files have extra columns thrown in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The flow is throwing an error when a file with an extra column is included. How can I set it up to allow for this variation in the input files?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 11:03:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Allowing-schema-drift-in-Gen-2-Flow-combining-all-files-in-a/m-p/4616130#M4939</guid>
      <dc:creator>poinfrettia</dc:creator>
      <dc:date>2025-03-19T11:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing schema drift in Gen 2 Flow combining all files in a folder</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Allowing-schema-drift-in-Gen-2-Flow-combining-all-files-in-a/m-p/4616217#M4940</link>
      <description>&lt;P&gt;would you mind sharing the query script (the full code) of your "Transform sample query"?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 11:41:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Allowing-schema-drift-in-Gen-2-Flow-combining-all-files-in-a/m-p/4616217#M4940</guid>
      <dc:creator>miguel</dc:creator>
      <dc:date>2025-03-19T11:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing schema drift in Gen 2 Flow combining all files in a folder</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Allowing-schema-drift-in-Gen-2-Flow-combining-all-files-in-a/m-p/4616246#M4941</link>
      <description>&lt;P&gt;Thanks miguel,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure - this is the 'Transform Sample Query' step:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;let&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp; Source = Csv.Document(Parameter, [Delimiter=&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN&gt;, Columns=&lt;/SPAN&gt;&lt;SPAN&gt;22&lt;/SPAN&gt;&lt;SPAN&gt;, Encoding=&lt;/SPAN&gt;&lt;SPAN&gt;65001&lt;/SPAN&gt;&lt;SPAN&gt;, QuoteStyle=QuoteStyle.None]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp; #"Removed top rows" = Table.Skip(Source, &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp; #"Promoted headers" = Table.PromoteHeaders(#"Removed top rows", [PromoteAllScalars = &lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp; #"Promoted headers"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Mar 2025 11:53:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Allowing-schema-drift-in-Gen-2-Flow-combining-all-files-in-a/m-p/4616246#M4941</guid>
      <dc:creator>poinfrettia</dc:creator>
      <dc:date>2025-03-19T11:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing schema drift in Gen 2 Flow combining all files in a folder</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Allowing-schema-drift-in-Gen-2-Flow-combining-all-files-in-a/m-p/4616704#M4942</link>
      <description>&lt;P&gt;I have another flow where the columns differ, and it doesn't throw an error - the Gen 2 Flow manages them automatically. The issue must be something else.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 14:53:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Allowing-schema-drift-in-Gen-2-Flow-combining-all-files-in-a/m-p/4616704#M4942</guid>
      <dc:creator>poinfrettia</dc:creator>
      <dc:date>2025-03-19T14:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing schema drift in Gen 2 Flow combining all files in a folder</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Allowing-schema-drift-in-Gen-2-Flow-combining-all-files-in-a/m-p/4626363#M4949</link>
      <description>&lt;P&gt;I know you marked the issue as solved but just throwing my $0.02 out there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You could expand your columns out "Columns=23" to the widest range of your files.&lt;/LI&gt;&lt;LI&gt;I wonder if the error you're getting is from a data type mismatch? Like if file one has a text format and file two has a number in the same column?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Are the files random on how you collect if they have the extra columns or not? If they're structured that X files have one format and Y files have another format. You could always do two (or more) separate power queries and clean them up so the columns line up and then append them.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 26 Mar 2025 18:17:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Allowing-schema-drift-in-Gen-2-Flow-combining-all-files-in-a/m-p/4626363#M4949</guid>
      <dc:creator>coverturfLSH</dc:creator>
      <dc:date>2025-03-26T18:17:17Z</dc:date>
    </item>
  </channel>
</rss>

