<?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: Is there a field limit when using a pivot in a DataFlow Gen2 flow? in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Is-there-a-field-limit-when-using-a-pivot-in-a-DataFlow-Gen2/m-p/4839524#M12642</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1321843" data-lia-user-login="mklevemann" class="lia-mention lia-mention-user"&gt;mklevemann&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please let us know if the issue has been resolved?&amp;nbsp;I wanted to check if you had the opportunity to review the information provided by&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1307272" data-lia-user-login="AntoineW" class="lia-mention lia-mention-user"&gt;AntoineW&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1340679" target="_blank"&gt;@tayloramy &lt;/A&gt;&amp;nbsp;. If you still require support, please let us know, we are happy to assist you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Oct 2025 03:59:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-10-01T03:59:33Z</dc:date>
    <item>
      <title>Is there a field limit when using a pivot in a DataFlow Gen2 flow?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Is-there-a-field-limit-when-using-a-pivot-in-a-DataFlow-Gen2/m-p/4837801#M12579</link>
      <description>&lt;P&gt;Just wondering how many fields you can keep not pivoted when you pivot in a DataFlow Gen2 flow?&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 11:07:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Is-there-a-field-limit-when-using-a-pivot-in-a-DataFlow-Gen2/m-p/4837801#M12579</guid>
      <dc:creator>mklevemann</dc:creator>
      <dc:date>2025-09-29T11:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a field limit when using a pivot in a DataFlow Gen2 flow?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Is-there-a-field-limit-when-using-a-pivot-in-a-DataFlow-Gen2/m-p/4837925#M12584</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1321843" data-lia-user-login="mklevemann" class="lia-mention lia-mention-user"&gt;mklevemann&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While there's &lt;STRONG&gt;no documented field limit&lt;/STRONG&gt;, performance can degrade if:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You have &lt;STRONG&gt;many unique values&lt;/STRONG&gt; in the pivot key (each becomes a column).&lt;/LI&gt;&lt;LI&gt;You keep &lt;STRONG&gt;too many group-by fields&lt;/STRONG&gt;, which increases the number of output rows.&lt;/LI&gt;&lt;LI&gt;Your dataset is &lt;STRONG&gt;large&lt;/STRONG&gt;, and transformations aren't optimized (e.g., no query folding).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Microsoft recommends:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Keeping pivot transformations &lt;STRONG&gt;focused and minimal&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Using &lt;STRONG&gt;staging steps&lt;/STRONG&gt; or breaking down flows if performance drops.&lt;/LI&gt;&lt;LI&gt;Avoiding dynamic schema generation unless necessary. &lt;A href="https://learn.microsoft.com/en-us/azure/data-factory/data-flow-pivot" target="_blank"&gt;[Pivot tran...rosoft.com]&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;H2&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Best Practices&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Specify exact values&lt;/STRONG&gt; to pivot (instead of dynamic pivoting).&lt;/LI&gt;&lt;LI&gt;Use &lt;STRONG&gt;query folding&lt;/STRONG&gt; where possible to push logic to the source.&lt;/LI&gt;&lt;LI&gt;Consider using &lt;STRONG&gt;Notebooks or Power BI&lt;/STRONG&gt; for complex pivoting if Dataflow Gen2 struggles.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it can help you !&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Antoine&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 12:50:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Is-there-a-field-limit-when-using-a-pivot-in-a-DataFlow-Gen2/m-p/4837925#M12584</guid>
      <dc:creator>AntoineW</dc:creator>
      <dc:date>2025-09-29T12:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a field limit when using a pivot in a DataFlow Gen2 flow?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Is-there-a-field-limit-when-using-a-pivot-in-a-DataFlow-Gen2/m-p/4838014#M12592</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1321843" data-lia-user-login="mklevemann" class="lia-mention lia-mention-user"&gt;mklevemann&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There isn’t a documented “field limit” on how many columns you can keep &lt;EM&gt;not pivoted&lt;/EM&gt; in a Dataflow Gen2 pivot step. The real constraints are (a) how many columns your pivot creates overall and (b) the limits of your &lt;STRONG&gt;destination&lt;/STRONG&gt; and/or downstream &lt;STRONG&gt;semantic model&lt;/STRONG&gt;. In practice, the biggest hard limit you’ll hit is the Power BI semantic model cap of &lt;STRONG&gt;16,000 columns total across all tables&lt;/STRONG&gt; if you load the result into a model later (&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/service-get-data" target="_blank" rel="noopener"&gt;Microsoft Learn&lt;/A&gt;). Power Query’s Pivot itself doesn’t publish a specific column cap (&lt;A href="https://learn.microsoft.com/en-us/power-query/pivot-columns" target="_blank" rel="noopener"&gt;Pivot columns (Power Query)&lt;/A&gt;), and Dataflow Gen2’s limitations page doesn’t call out a column-count limit either (&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/data-factory-limitations" target="_blank" rel="noopener"&gt;Fabric Data Factory limitations&lt;/A&gt;).&lt;/P&gt;&lt;H3&gt;Why this happens&lt;/H3&gt;&lt;P&gt;Pivoting turns each &lt;STRONG&gt;distinct value&lt;/STRONG&gt; in your pivot column into a &lt;STRONG&gt;new column&lt;/STRONG&gt;. So even if you “keep” many non-pivoted columns, the true risk is the number of new columns created by the pivoted categories. Very wide outputs can hit:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Semantic model limits:&lt;/STRONG&gt; 16,000 total columns across all tables (&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/service-get-data" target="_blank" rel="noopener"&gt;doc&lt;/A&gt;, see “Column limit”).&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Destination practicality:&lt;/STRONG&gt; Lakehouse/Delta can handle wide schemas, but extremely wide tables affect performance and manageability (&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/lakehouse-and-delta-tables" target="_blank" rel="noopener"&gt;Lakehouse and Delta overview&lt;/A&gt;).&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Recommendations&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Constrain pivot cardinality:&lt;/STRONG&gt; Pre-filter the categories you pivot (e.g., top N, recent period, a whitelist).&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Aggregate smarter:&lt;/STRONG&gt; If you’re pivoting for display only, consider leaving the data long and handle layout in the report (measures/visuals) instead of materializing thousands of columns.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Stage first, pivot later:&lt;/STRONG&gt; Land data “long” in Lakehouse, then create a downstream, &lt;STRONG&gt;narrow&lt;/STRONG&gt; pivoted table targeted to the use case.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Sanity check column counts:&lt;/STRONG&gt; If the result heads toward thousands of columns, you’re likely to hit usability or model limits later.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you share your destination (Lakehouse table vs Warehouse vs straight to a semantic model), folks can suggest more targeted guardrails. But to your question: there’s no fixed “keep columns” limit on the Pivot step itself-just be mindful of the resulting total column count and downstream limits.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 13:47:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Is-there-a-field-limit-when-using-a-pivot-in-a-DataFlow-Gen2/m-p/4838014#M12592</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2025-09-29T13:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a field limit when using a pivot in a DataFlow Gen2 flow?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Is-there-a-field-limit-when-using-a-pivot-in-a-DataFlow-Gen2/m-p/4839524#M12642</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1321843" data-lia-user-login="mklevemann" class="lia-mention lia-mention-user"&gt;mklevemann&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please let us know if the issue has been resolved?&amp;nbsp;I wanted to check if you had the opportunity to review the information provided by&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1307272" data-lia-user-login="AntoineW" class="lia-mention lia-mention-user"&gt;AntoineW&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1340679" target="_blank"&gt;@tayloramy &lt;/A&gt;&amp;nbsp;. If you still require support, please let us know, we are happy to assist you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 03:59:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Is-there-a-field-limit-when-using-a-pivot-in-a-DataFlow-Gen2/m-p/4839524#M12642</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-10-01T03:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a field limit when using a pivot in a DataFlow Gen2 flow?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Is-there-a-field-limit-when-using-a-pivot-in-a-DataFlow-Gen2/m-p/4839707#M12651</link>
      <description>&lt;P&gt;Thanks for the responses.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 08:52:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Is-there-a-field-limit-when-using-a-pivot-in-a-DataFlow-Gen2/m-p/4839707#M12651</guid>
      <dc:creator>mklevemann</dc:creator>
      <dc:date>2025-10-01T08:52:31Z</dc:date>
    </item>
  </channel>
</rss>

