<?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 Dataflows Gen2 – Import – Mashup - DataFormat Error in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/Dataflows-Gen2-Import-Mashup-DataFormat-Error/m-p/4023540#M3302</link>
    <description>&lt;P&gt;I am using Dataflows Gen2 to import a series of CSV files and put them in a Lakehouse. Unfortunately, I keep getting issues saying items are numbers instead of text. However, the columns the values are in are already set to number. The only way I was able to prevent the related errors was to set all columns to Text.&amp;nbsp; Otherwise, when I publish the file, I get errors&amp;nbsp; (&lt;STRONG&gt;full error below&lt;/STRONG&gt;). I have a few fields that really are number (whole or decimal) … yes the entire column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also checked and tested the “Data destination” section to “Lakehouse”. In the Choose destination settings I tried “Use automatic settings” both on and off. When off I have set update method to replace, and schema to dynamic. The column matching sees to all match and be appropriate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GL_Export_System_WriteToDataDestination: Mashup Exception Data Format Error Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: Error in replacing table's content with new data in a version: #{0}., InnerException: We couldn't convert to Number., Underlying error: We couldn't convert to Number. Details: Reason = DataFormat.Error;Message = We couldn't convert to Number.;Detail = GT5002HIGT00;Message.Format = We couldn't convert to Number.;Microsoft.Data.Mashup.Error.Context = User GatewayObjectId: xxxxxxxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GL_Export_System_WriteToDataDestination: Mashup Exception Data Format Error Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: Error in replacing table's content with new data in a version: #{0}., InnerException: We couldn't convert to Number., Underlying error: We couldn't convert to Number. Details: Reason = DataFormat.Error;Message = We couldn't convert to Number.;Detail = MX-56412;Message.Format = We couldn't convert to Number.;Microsoft.Data.Mashup.Error.Context = User GatewayObjectId: xxxxxxxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GL_Export_System_WriteToDataDestination: Mashup Exception Data Format Error Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: Error in replacing table's content with new data in a version: #{0}., InnerException: We couldn't convert to Number., Underlying error: We couldn't convert to Number. Details: Reason = DataFormat.Error;Message = We couldn't convert to Number.;Detail = GT1339HIGT00;Message.Format = We couldn't convert to Number.;Microsoft.Data.Mashup.Error.Context = User GatewayObjectId: xxxxxxxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2024 18:27:35 GMT</pubDate>
    <dc:creator>asjones</dc:creator>
    <dc:date>2024-07-03T18:27:35Z</dc:date>
    <item>
      <title>Dataflows Gen2 – Import – Mashup - DataFormat Error</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Dataflows-Gen2-Import-Mashup-DataFormat-Error/m-p/4023540#M3302</link>
      <description>&lt;P&gt;I am using Dataflows Gen2 to import a series of CSV files and put them in a Lakehouse. Unfortunately, I keep getting issues saying items are numbers instead of text. However, the columns the values are in are already set to number. The only way I was able to prevent the related errors was to set all columns to Text.&amp;nbsp; Otherwise, when I publish the file, I get errors&amp;nbsp; (&lt;STRONG&gt;full error below&lt;/STRONG&gt;). I have a few fields that really are number (whole or decimal) … yes the entire column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also checked and tested the “Data destination” section to “Lakehouse”. In the Choose destination settings I tried “Use automatic settings” both on and off. When off I have set update method to replace, and schema to dynamic. The column matching sees to all match and be appropriate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GL_Export_System_WriteToDataDestination: Mashup Exception Data Format Error Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: Error in replacing table's content with new data in a version: #{0}., InnerException: We couldn't convert to Number., Underlying error: We couldn't convert to Number. Details: Reason = DataFormat.Error;Message = We couldn't convert to Number.;Detail = GT5002HIGT00;Message.Format = We couldn't convert to Number.;Microsoft.Data.Mashup.Error.Context = User GatewayObjectId: xxxxxxxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GL_Export_System_WriteToDataDestination: Mashup Exception Data Format Error Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: Error in replacing table's content with new data in a version: #{0}., InnerException: We couldn't convert to Number., Underlying error: We couldn't convert to Number. Details: Reason = DataFormat.Error;Message = We couldn't convert to Number.;Detail = MX-56412;Message.Format = We couldn't convert to Number.;Microsoft.Data.Mashup.Error.Context = User GatewayObjectId: xxxxxxxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GL_Export_System_WriteToDataDestination: Mashup Exception Data Format Error Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: Error in replacing table's content with new data in a version: #{0}., InnerException: We couldn't convert to Number., Underlying error: We couldn't convert to Number. Details: Reason = DataFormat.Error;Message = We couldn't convert to Number.;Detail = GT1339HIGT00;Message.Format = We couldn't convert to Number.;Microsoft.Data.Mashup.Error.Context = User GatewayObjectId: xxxxxxxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 18:27:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Dataflows-Gen2-Import-Mashup-DataFormat-Error/m-p/4023540#M3302</guid>
      <dc:creator>asjones</dc:creator>
      <dc:date>2024-07-03T18:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dataflows Gen2 – Import – Mashup - DataFormat Error</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Dataflows-Gen2-Import-Mashup-DataFormat-Error/m-p/4023606#M3303</link>
      <description>&lt;P&gt;Keep the columns as numerical type.&amp;nbsp;&lt;SPAN&gt;Inside the dataflow editor, try selecting all columns and then select keep rows -&amp;gt; keep errors.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;See if any rows are returned. Those rows will contain the error values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Probably some values in the column which are not formatted properly as number.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps it contains a wrong decimal symbol or some non-numeric character.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the error is due to wrong decimal symbol, you can use 'change type using locale', or just use 'replace value' to replace a decimal symbol with another decimal symbol.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is some other reason for the error, handle the erroneous data accordingly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there are no error rows, then I don't know.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 19:14:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Dataflows-Gen2-Import-Mashup-DataFormat-Error/m-p/4023606#M3303</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-07-03T19:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dataflows Gen2 – Import – Mashup - DataFormat Error</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Dataflows-Gen2-Import-Mashup-DataFormat-Error/m-p/4027568#M3331</link>
      <description>&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou for the suggestion of using &lt;STRONG&gt;&lt;SPAN&gt;keep rows -&amp;gt; keep errors&lt;/SPAN&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;All my other tests like importing into Excel did it "right". However DataFlows Gen2 had issues and mised up some columns.&amp;nbsp;&lt;BR /&gt;Sharing the information below incase it helps someone else.&lt;BR /&gt;&lt;BR /&gt;I went into the CSV import code&lt;/P&gt;&lt;PRE&gt;Csv.Document(...) &lt;/PRE&gt;&lt;P&gt;I changed the Quote Style to QuoteStyle.None and it fixed my issue&lt;BR /&gt;documetation&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/powerquery-m/csv-document" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/powerquery-m/csv-document&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;QuoteStyle: Specifies how quoted line breaks are handled.&lt;UL&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/powerquery-m/quotestyle-type" target="_blank" rel="noopener"&gt;QuoteStyle.Csv&lt;/A&gt; (default): Quoted line breaks are treated as part of the data, not as the end of the current row.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/powerquery-m/quotestyle-type" target="_blank" rel="noopener"&gt;QuoteStyle.None&lt;/A&gt;: All line breaks are treated as the end of the current row, even when they occur inside a quoted value.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 19:15:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Dataflows-Gen2-Import-Mashup-DataFormat-Error/m-p/4027568#M3331</guid>
      <dc:creator>asjones</dc:creator>
      <dc:date>2024-07-05T19:15:38Z</dc:date>
    </item>
  </channel>
</rss>

