<?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: Bulk replace text values in single step in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/Bulk-replace-text-values-in-single-step/m-p/2505173#M75889</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317743" data-lia-user-login="Vijay_A_Verma" class="lia-mention lia-mention-user"&gt;Vijay_A_Verma&lt;/a&gt;&amp;nbsp;could you please advise how to use it in the same column?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2022 14:18:25 GMT</pubDate>
    <dc:creator>Dom87326</dc:creator>
    <dc:date>2022-05-10T14:18:25Z</dc:date>
    <item>
      <title>Bulk replace text values in single step</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Bulk-replace-text-values-in-single-step/m-p/2505037#M75882</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to replace multiple text values in one power query step. In the example below, New York and Los Angeles should be changed to Boston.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 13:41:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Bulk-replace-text-values-in-single-step/m-p/2505037#M75882</guid>
      <dc:creator>Dom87326</dc:creator>
      <dc:date>2022-05-10T13:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk replace text values in single step</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Bulk-replace-text-values-in-single-step/m-p/2505138#M75888</link>
      <description>&lt;P&gt;In a Custom column put following&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;= if List.Contains({"New York","Los Angeles"},[Column A]) then "Boston" else [Column A]&lt;/LI-CODE&gt;&lt;P&gt;See the working here - Open a blank query - Home - Advanced Editor - Remove everything from there and paste the below code to test&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45W8kstV4jML8pWitWJVnLKLy7JzwMzffKLFRzz0lNzUovBfI/8Uricb2ZibqZSbCwA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"Column A" = _t]),
    #"Added Custom" = Table.AddColumn(Source, "Column B", each if List.Contains({"New York","Los Angeles"},[Column A]) then "Boston" else [Column A])
in
    #"Added Custom"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 10 May 2022 14:08:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Bulk-replace-text-values-in-single-step/m-p/2505138#M75888</guid>
      <dc:creator>Vijay_A_Verma</dc:creator>
      <dc:date>2022-05-10T14:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk replace text values in single step</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Bulk-replace-text-values-in-single-step/m-p/2505173#M75889</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317743" data-lia-user-login="Vijay_A_Verma" class="lia-mention lia-mention-user"&gt;Vijay_A_Verma&lt;/a&gt;&amp;nbsp;could you please advise how to use it in the same column?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 14:18:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Bulk-replace-text-values-in-single-step/m-p/2505173#M75889</guid>
      <dc:creator>Dom87326</dc:creator>
      <dc:date>2022-05-10T14:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk replace text values in single step</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Bulk-replace-text-values-in-single-step/m-p/2505192#M75892</link>
      <description>&lt;P&gt;For same column, insert this step where Source should be replaced with your previous step&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;= Table.ReplaceValue(Source,each [Column A],each if List.Contains({"New York","Los Angeles"},[Column A]) then "Boston" else [Column A],Replacer.ReplaceValue,{"Column A"})&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 10 May 2022 14:24:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Bulk-replace-text-values-in-single-step/m-p/2505192#M75892</guid>
      <dc:creator>Vijay_A_Verma</dc:creator>
      <dc:date>2022-05-10T14:24:22Z</dc:date>
    </item>
  </channel>
</rss>

