<?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: Excel import not consistently recognising blank first column in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4693923#M5116</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1233160" data-lia-user-login="poinfrettia" class="lia-mention lia-mention-user"&gt;poinfrettia&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community Forum.&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="223" data-lia-user-login="miguel" class="lia-mention lia-mention-user"&gt;miguel&lt;/a&gt;&amp;nbsp;Thank you for your quick response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1233160" data-lia-user-login="poinfrettia" class="lia-mention lia-mention-user"&gt;poinfrettia&lt;/a&gt;&amp;nbsp;Yes, you're&amp;nbsp; right. Could you please try the below M code after&lt;/P&gt;
&lt;P&gt;We can explicitly define the range of data in Advanced Editor in View tab.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After the Navigation step in M code, you can define the columns as below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;#"Selected Columns" = Table.SelectColumns(#"Navigation 1", {"Column1", "Column2"}),&amp;nbsp; // Replace with actual column names&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr;"&gt;
&lt;TABLE style="direction: ltr; border-collapse: collapse; border: 1pt solid #A3A3A3;" title="" border="1" summary="" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="background-color: #c5e0b3; vertical-align: top; width: 7.9659in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;If this post helps, then please consider&amp;nbsp;&lt;FONT color="#993300"&gt;&lt;STRONG&gt;Accepting as solution&lt;/STRONG&gt;&lt;/FONT&gt; to help the other members find it more quickly, don't forget to give a "Kudos&amp;nbsp;&lt;img /&gt;" – I’d truly appreciate it!&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;P style="margin: 0in; margin-left: 3.0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;B Manikanteswara Reddy&lt;/P&gt;</description>
    <pubDate>Thu, 15 May 2025 10:13:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-05-15T10:13:48Z</dc:date>
    <item>
      <title>Excel import not consistently recognising blank first column</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4692171#M5106</link>
      <description>&lt;P&gt;Hi there, I have a Gen 2 Flow which imports lots of identical excel workbooks in a folder. Column A in all of them is blank - but I'm getting errors as sometimes the Gen 2 Flow imports this first blank column, and sometimes skips it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand this is based on excels 'used range' default. Can I force the import to start in column A somehow? Or define the specific range?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 09:21:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4692171#M5106</guid>
      <dc:creator>poinfrettia</dc:creator>
      <dc:date>2025-05-14T09:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Excel import not consistently recognising blank first column</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4692989#M5111</link>
      <description>&lt;P&gt;Could you please share the M code that you're using? You can get it by going into the "Advanced editor" of your query in the "View" tab. If you're using a function to drive the logic, please share that custom function as well&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 18:19:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4692989#M5111</guid>
      <dc:creator>miguel</dc:creator>
      <dc:date>2025-05-14T18:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Excel import not consistently recognising blank first column</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4693923#M5116</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1233160" data-lia-user-login="poinfrettia" class="lia-mention lia-mention-user"&gt;poinfrettia&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community Forum.&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="223" data-lia-user-login="miguel" class="lia-mention lia-mention-user"&gt;miguel&lt;/a&gt;&amp;nbsp;Thank you for your quick response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1233160" data-lia-user-login="poinfrettia" class="lia-mention lia-mention-user"&gt;poinfrettia&lt;/a&gt;&amp;nbsp;Yes, you're&amp;nbsp; right. Could you please try the below M code after&lt;/P&gt;
&lt;P&gt;We can explicitly define the range of data in Advanced Editor in View tab.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After the Navigation step in M code, you can define the columns as below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;#"Selected Columns" = Table.SelectColumns(#"Navigation 1", {"Column1", "Column2"}),&amp;nbsp; // Replace with actual column names&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr;"&gt;
&lt;TABLE style="direction: ltr; border-collapse: collapse; border: 1pt solid #A3A3A3;" title="" border="1" summary="" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="background-color: #c5e0b3; vertical-align: top; width: 7.9659in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;If this post helps, then please consider&amp;nbsp;&lt;FONT color="#993300"&gt;&lt;STRONG&gt;Accepting as solution&lt;/STRONG&gt;&lt;/FONT&gt; to help the other members find it more quickly, don't forget to give a "Kudos&amp;nbsp;&lt;img /&gt;" – I’d truly appreciate it!&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;P style="margin: 0in; margin-left: 3.0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;B Manikanteswara Reddy&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 10:13:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4693923#M5116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-15T10:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Excel import not consistently recognising blank first column</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4694468#M5118</link>
      <description>&lt;P&gt;Hi Miguel and thanks for replying - it's actually the very first step, i.e.&amp;nbsp;&lt;EM&gt;let&amp;nbsp;Source = Excel.Workbook(Parameter, null, true),&amp;nbsp;Navigation = Source{[Item = "Sheet1", Kind = "Sheet"]}[Data].&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the Gen 2 Flow imports the spreadsheet, it automatically determines which column (A or B in this case) should be "Column1" based on what Excel indicates is the 'used range' on the sheet. If column A is blank, usually it decides column B should be Column1. The problem I'm having is that for some sheets, even though column A is blank in all of them, it's setting column A as Column1 in some files and column B in others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 May 2025 13:35:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4694468#M5118</guid>
      <dc:creator>poinfrettia</dc:creator>
      <dc:date>2025-05-15T13:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Excel import not consistently recognising blank first column</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4694472#M5119</link>
      <description>&lt;P&gt;Hi and thanks for replying - I've added more details to Miguel's reply which will hopefully clarify the problem better.&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 13:37:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4694472#M5119</guid>
      <dc:creator>poinfrettia</dc:creator>
      <dc:date>2025-05-15T13:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Excel import not consistently recognising blank first column</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4694692#M5120</link>
      <description>&lt;P&gt;The two files likely have different "used range" dimensions. There are instructions for how to inspect the dimensions here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-query/connectors/excel#how-to-diagnose-incorrect-dimensions" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/power-query/connectors/excel#how-to-diagnose-incorrect-dimensions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you control the creation of the files, you may be able to remedy this by &lt;A href="https://support.microsoft.com/en-us/office/clear-cells-of-contents-or-formats-9ff6b8ff-1afd-495f-8ad8-8c1f6f82a9d6" target="_self"&gt;clearing any formatting/values/etc.&lt;/A&gt; from the first column. Even though the cells are blank, there may be some formatting or other metadata that's causing them to be included in the dimensions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you could edit the first column in all the files to include&amp;nbsp;&lt;EM&gt;something&amp;nbsp;&lt;/EM&gt;(even just a space) so that they're all consistent in having the real data start in Column2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could also try using the&amp;nbsp;&lt;SPAN&gt;InferSheetDimensions&amp;nbsp;option of Excel.Workbook. I don't recall if it will ignore leading null cells, but it would be worth a try.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 16:02:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4694692#M5120</guid>
      <dc:creator>Ehren</dc:creator>
      <dc:date>2025-05-15T16:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Excel import not consistently recognising blank first column</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4695513#M5122</link>
      <description>&lt;P&gt;Thanks - I tried setting InferSheetDimensions to false but you're right it still uses excel's used range. I don't have control over the file creation unfortunately but I can interfere if a file is recieved and breaks the flow. A bit faffy - hopefully a feature to control the import is added soon. Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 08:23:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4695513#M5122</guid>
      <dc:creator>poinfrettia</dc:creator>
      <dc:date>2025-05-16T08:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Excel import not consistently recognising blank first column</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4695951#M5123</link>
      <description>&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1233160" data-lia-user-login="poinfrettia" class="lia-mention lia-mention-user"&gt;poinfrettia&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN&gt;Just checking in — has your issue been resolved? &lt;/SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;If so, it would be great if you could &lt;SPAN&gt;share the steps or the final solution you followed&lt;/SPAN&gt;, so others facing a similar issue can benefit from it as well.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Also, please consider &lt;SPAN&gt;marking it as the &lt;STRONG&gt;accepted solution&lt;/STRONG&gt;&lt;/SPAN&gt; if it helped, this really helps the community!&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;B Manikanteswara Reddy&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 12:06:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4695951#M5123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-16T12:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Excel import not consistently recognising blank first column</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4696399#M5125</link>
      <description>&lt;P&gt;Can you try setting&amp;nbsp;&lt;SPAN&gt;InferSheetDimensions&amp;nbsp;to true instead of false? The default is false, so setting it to false won't change anything.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 18:16:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4696399#M5125</guid>
      <dc:creator>Ehren</dc:creator>
      <dc:date>2025-05-16T18:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Excel import not consistently recognising blank first column</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4698006#M5129</link>
      <description>&lt;P&gt;Ah it was already true, I thought that was the default? It seems like neither way changes it regardless unfortunately.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 08:05:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4698006#M5129</guid>
      <dc:creator>poinfrettia</dc:creator>
      <dc:date>2025-05-19T08:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Excel import not consistently recognising blank first column</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4698964#M5134</link>
      <description>&lt;P&gt;Ok. Then your best bet would be to write logic in M that detects whether the data starts in Column1 vs. Column2, and handles both cases.&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 19:04:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Excel-import-not-consistently-recognising-blank-first-column/m-p/4698964#M5134</guid>
      <dc:creator>Ehren</dc:creator>
      <dc:date>2025-05-19T19:04:48Z</dc:date>
    </item>
  </channel>
</rss>

