<?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: BUG::on-prem DB ingestion of table with column of varbinary datatype in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3661073#M1671</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="268213" data-lia-user-login="Element115" class="lia-mention lia-mention-user"&gt;Element115&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;Apologies for the inconvenience that you are facing here.&lt;/P&gt;
&lt;P&gt;I tried to repro the scenario and got the similar issue. Please find the screenshots below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, this might require a deeper investigation from our engineering team and they can guide you better.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please go ahead and raise a support ticket to reach our support team:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://support.fabric.microsoft.com/support" target="_blank" rel="noopener nofollow noreferrer"&gt;https://support.fabric.microsoft.com/support&lt;/A&gt;&lt;BR /&gt;Please provide the ticket number here as we can keep an eye on it.&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful. Please let me know incase of further queries.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2024 18:11:51 GMT</pubDate>
    <dc:creator>v-cboorla-msft</dc:creator>
    <dc:date>2024-01-25T18:11:51Z</dc:date>
    <item>
      <title>BUG::on-prem DB ingestion of table with column of varbinary datatype</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3658307#M1657</link>
      <description>&lt;P&gt;STEPS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SQL Server DDL:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CREATE TABLE DBNAME.dbo.MUP_Status (
	statusId int IDENTITY(0,1) NOT NULL,
	display varchar(100) COLLATE Latin1_General_CI_AS NULL,
	lastAccessed datetime2(0) NULL,
	currentLayout varchar(100) COLLATE Latin1_General_CI_AS NULL,
	MUP_screenshot varbinary(MAX) NULL
);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0__create new DF Gen2&lt;/P&gt;&lt;P&gt;1__connect to on-prem DB:&amp;nbsp; this is the M code after expanding the Data column and removing all the other columns not from the DB table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let
  Source = Sql.Database("server", "DBNAME"),
  #"Navigation 1" = Source{[Schema = "dbo", Item = "MUP_Status"]}[Data],
  #"From Value" = Table.FromValue(#"Navigation 1"),
  #"From Value 1" = Table.FromValue(#"From Value"),
  #"From Value 2" = Table.FromValue(#"From Value 1"),
  #"From Value 3" = Table.FromValue(#"From Value 2"),
  #"Remove Columns" = Table.RemoveColumns(#"From Value 3", Table.ColumnsOfType(#"From Value 3", {type table, type record, type list, type nullable binary, type binary, type function}))
in
  #"Remove Columns"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2__the last line,&amp;nbsp;&lt;SPAN&gt;#"Remove Columns", automatically removes the varbinary column from the source without me having selected this column!&amp;nbsp; In fact, I do need this column to stay and be persisted to the lakehouse.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3__delete the line&amp;nbsp;&lt;SPAN&gt;#"Remove Columns"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;4__click Publish, no Data destination set (this DF is supposed to be the input into a second DF in the chain, so no need to persist it to a user created lakehouse, but 'Enable staging' is on).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;5__reopen the DF after publishing is complete&lt;/P&gt;&lt;P&gt;6__the deleted line&amp;nbsp;&lt;SPAN&gt;#"Remove Columns" is back, automatically generated by Power Query!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is not what is intended.&amp;nbsp; Why?&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;What gives? How to stop this from occurring?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 23:59:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3658307#M1657</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-01-24T23:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: BUG::on-prem DB ingestion of table with column of varbinary datatype</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3661073#M1671</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="268213" data-lia-user-login="Element115" class="lia-mention lia-mention-user"&gt;Element115&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;Apologies for the inconvenience that you are facing here.&lt;/P&gt;
&lt;P&gt;I tried to repro the scenario and got the similar issue. Please find the screenshots below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, this might require a deeper investigation from our engineering team and they can guide you better.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please go ahead and raise a support ticket to reach our support team:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://support.fabric.microsoft.com/support" target="_blank" rel="noopener nofollow noreferrer"&gt;https://support.fabric.microsoft.com/support&lt;/A&gt;&lt;BR /&gt;Please provide the ticket number here as we can keep an eye on it.&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful. Please let me know incase of further queries.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 18:11:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3661073#M1671</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-01-25T18:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: BUG::on-prem DB ingestion of table with column of varbinary datatype</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3662057#M1682</link>
      <description>&lt;P&gt;I don't have experience with binary column, but I&amp;nbsp;&lt;SPAN&gt;think you need to parse the content of the column into text type (ABC) or something like that before publishing the dataflow gen2, because I don't think you can save the column with binary type in Power Query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Perhaps the solution in this article can help you (create a new column with Text.FromBinary)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-convert-Binary-data-from-DB-to-Power-BI/m-p/575884" target="_blank" rel="noopener"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-convert-Binary-data-from-DB-to-Power-BI/m-p/575884&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, maybe try to just change the data type of the binary column to ABC type directly.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 06:13:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3662057#M1682</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-01-26T06:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: BUG::on-prem DB ingestion of table with column of varbinary datatype</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3662773#M1685</link>
      <description>&lt;P&gt;SR#&amp;nbsp;2401250040013953&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 13:59:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3662773#M1685</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-01-26T13:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: BUG::on-prem DB ingestion of table with column of varbinary datatype</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3662783#M1686</link>
      <description>&lt;P&gt;Well, there is a Binary type that appears in the Power Query editor of a DF Gen2.&amp;nbsp; The thing is that the column is automatically removed upon publishing and that should not happen.&amp;nbsp; Instead, if it's something that should not be done, at the very least an error message should be displayed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In any case, you got a point.&amp;nbsp; I had no choice but to convert the column binary to text.&amp;nbsp; This column contains JPEG images.&amp;nbsp; I still have to test to see if my Power BI report will display these images, but since there is another bug with Data Factory, I cannot proceed yet.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 14:06:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3662783#M1686</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-01-26T14:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: BUG::on-prem DB ingestion of table with column of varbinary datatype</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3666935#M1698</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="608020" data-lia-user-login="v-cboorla-msft" class="lia-mention lia-mention-user"&gt;v-cboorla-msft&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="437984" data-lia-user-login="frithjof_v" class="lia-mention lia-mention-user"&gt;frithjof_v&lt;/a&gt;&amp;nbsp; finally found 2 solutions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1__explicitly specify the column type to nullable binary like so:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  #"Changed column type" = Table.TransformColumnTypes(#"From Value 1", {{"MUP_screenshot", type nullable binary}})
in
  #"Changed column type"&lt;/LI-CODE&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;2__insert these lines of code to check for errors in the binary column, and if no error, just return the table with all the columns; this too prevents the PQ Editor from automatically inserting a remove column step:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  #"From Value 1" = Table.FromValue(#"From Value"),
  #"Kept errors" = Table.SelectRowsWithErrors(#"From Value 1"),
  #"final-step" = if Table.RowCount(#"Kept errors") &amp;gt; 0 then #table({"Error count"},{{#"Kept errors"}}) else #"From Value 1"
in
  #"final-step"&lt;/LI-CODE&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;source:&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Service/Dataflow-How-can-I-stop-automatic-steps-being-added/m-p/2945338" target="_blank"&gt;Re: Dataflow - How can I stop automatic steps bei... - Page 2 - Microsoft Fabric Community&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Jan 2024 21:15:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3666935#M1698</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-01-29T21:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: BUG::on-prem DB ingestion of table with column of varbinary datatype</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3669445#M1708</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="268213" data-lia-user-login="Element115" class="lia-mention lia-mention-user"&gt;Element115&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Glad that your query got resolved.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please continue using Fabric Community for any help regarding your queries.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 04:53:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/BUG-on-prem-DB-ingestion-of-table-with-column-of-varbinary/m-p/3669445#M1708</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-01-31T04:53:32Z</dc:date>
    </item>
  </channel>
</rss>

