<?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: REPLACE(column, CHAR(160), '') unexpectedly clears entire string in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/REPLACE-column-CHAR-160-unexpectedly-clears-entire-string/m-p/4739390#M3296</link>
    <description>&lt;P&gt;If you have a Pro license you can open a Pro ticket at &lt;A href="https://admin.powerplatform.microsoft.com/newsupportticket/powerbi" target="_blank"&gt;https://admin.powerplatform.microsoft.com/newsupportticket/powerbi&lt;/A&gt;&lt;BR /&gt;Otherwise you can raise an issue at &lt;A href="https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues&lt;/A&gt; .&lt;/P&gt;</description>
    <pubDate>Sat, 21 Jun 2025 13:44:17 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2025-06-21T13:44:17Z</dc:date>
    <item>
      <title>REPLACE(column, CHAR(160), '') unexpectedly clears entire string</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/REPLACE-column-CHAR-160-unexpectedly-clears-entire-string/m-p/4739020#M3295</link>
      <description>&lt;P&gt;We are observing critical and unexpected behavior when using the REPLACE function in Microsoft Fabric Data Warehouse. Specifically, when attempting to remove &lt;STRONG&gt;CHAR(160) (Non-Breaking Space)&lt;/STRONG&gt; characters from a string column using &lt;STRONG&gt;REPLACE(YourColumn, CHAR(160), '')&lt;/STRONG&gt;, the entire string value is being replaced with an empty string (''), rather than just the occurrences of CHAR(160). This behavior is inconsistent with standard T-SQL REPLACE functionality and is causing severe data corruption in our transformation pipelines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is Fabric DWH:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is other Azure DWH:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 17:19:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/REPLACE-column-CHAR-160-unexpectedly-clears-entire-string/m-p/4739020#M3295</guid>
      <dc:creator>Rolandoc</dc:creator>
      <dc:date>2025-06-20T17:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE(column, CHAR(160), '') unexpectedly clears entire string</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/REPLACE-column-CHAR-160-unexpectedly-clears-entire-string/m-p/4739390#M3296</link>
      <description>&lt;P&gt;If you have a Pro license you can open a Pro ticket at &lt;A href="https://admin.powerplatform.microsoft.com/newsupportticket/powerbi" target="_blank"&gt;https://admin.powerplatform.microsoft.com/newsupportticket/powerbi&lt;/A&gt;&lt;BR /&gt;Otherwise you can raise an issue at &lt;A href="https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues&lt;/A&gt; .&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jun 2025 13:44:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/REPLACE-column-CHAR-160-unexpectedly-clears-entire-string/m-p/4739390#M3296</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-06-21T13:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE(column, CHAR(160), '') unexpectedly clears entire string</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/REPLACE-column-CHAR-160-unexpectedly-clears-entire-string/m-p/4740291#M3299</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="930259" data-lia-user-login="Rolandoc" class="lia-mention lia-mention-user"&gt;Rolandoc&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for posting your query in the Microsoft Fabric Community. Before submitting a support ticket, it may be useful to try a simple workaround by using binary collation. This instructs the engine to compare strings byte for byte, which can help avoid issues caused by special characters like CHAR(160). Please check if this resolves the problem.&lt;/P&gt;
&lt;P&gt;If the problem persists or you’re seeking a more permanent solution or official confirmation, as &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;, suggested, it’s advisable to raise a support ticket for deeper investigation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also refer to the official documentation here:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/sql/t-sql/functions/char-transact-sql?view=sql-server-ver16" target="_blank" rel="noopener"&gt;CHAR (Transact-SQL) - SQL Server | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;— Yugandhar&lt;BR /&gt;Community Support Team.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 05:17:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/REPLACE-column-CHAR-160-unexpectedly-clears-entire-string/m-p/4740291#M3299</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-07-01T05:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE(column, CHAR(160), '') unexpectedly clears entire string</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/REPLACE-column-CHAR-160-unexpectedly-clears-entire-string/m-p/4745160#M3331</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="930259" data-lia-user-login="Rolandoc" class="lia-mention lia-mention-user"&gt;Rolandoc&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Does the solution provided address your issue, or are you still experiencing the problem?&lt;BR /&gt;Your feedback is important to the community. If your issue has been resolved, please mark the response as &lt;STRONG&gt;&lt;I&gt;Accepted Solution&lt;/I&gt;&lt;/STRONG&gt; to help others find it more easily.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 13:14:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/REPLACE-column-CHAR-160-unexpectedly-clears-entire-string/m-p/4745160#M3331</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-06-26T13:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE(column, CHAR(160), '') unexpectedly clears entire string</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/REPLACE-column-CHAR-160-unexpectedly-clears-entire-string/m-p/4749234#M3358</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="930259" data-lia-user-login="Rolandoc" class="lia-mention lia-mention-user"&gt;Rolandoc&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Just following up to see if your issue was resolved through the Microsoft support ticket. If so, it would be helpful if you could share the solution or any key points here, as it may benefit others with similar questions.&lt;BR /&gt;If there’s no update, we’ll plan to close this thread soon. For future questions, please feel free to start a new post in the Microsoft Fabric Community Forum. We’re here to help.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you for your participation in the community.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 05:27:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/REPLACE-column-CHAR-160-unexpectedly-clears-entire-string/m-p/4749234#M3358</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-07-01T05:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: REPLACE(column, CHAR(160), '') unexpectedly clears entire string</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/REPLACE-column-CHAR-160-unexpectedly-clears-entire-string/m-p/4756804#M3391</link>
      <description>&lt;P&gt;Just try NCHAR instead of CHAR.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 15:30:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/REPLACE-column-CHAR-160-unexpectedly-clears-entire-string/m-p/4756804#M3391</guid>
      <dc:creator>Kanstantsin01</dc:creator>
      <dc:date>2025-07-08T15:30:24Z</dc:date>
    </item>
  </channel>
</rss>

