<?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: Assemble equal data after using the function Table.ReplaceValue in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2273894#M55403</link>
    <description>&lt;P&gt;Have you tried using trim as well as clean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failing that add a new step at end of power query to Replace "Apple" by "Test". Identify any rows that still have something that looks like Apple left which might give a clue.&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jan 2022 08:23:27 GMT</pubDate>
    <dc:creator>bcdobbs</dc:creator>
    <dc:date>2022-01-09T08:23:27Z</dc:date>
    <item>
      <title>Assemble equal data after using the function Table.ReplaceValue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2269577#M55191</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my dashboard I wrote a formula in Power Query to replace values according to two conditions like the example below:&lt;/P&gt;&lt;P&gt;if it is an orange in France, then replace the orange by an apple.&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;The formula is :&lt;/P&gt;&lt;P&gt;Table.ReplaceValue(#"Added Custom 1", each [Fruits], each if [Country] = "France" and [Fruits] = "Orange" then "Apple" else [Fruits], Replacer.ReplaceText,{"Fruits"})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However when I then create my chart and a drop down list of fruits, "Apple" appears twice instead of once.&amp;nbsp;I checked, "Apple" is spelled the same way and there is no extra space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know how to solve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Léonie&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 14:23:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2269577#M55191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-06T14:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Assemble equal data after using the function Table.ReplaceValue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2269600#M55193</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , There is a clean option in the transform tab in power query, use that on this field and check &lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 14:31:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2269600#M55193</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-01-06T14:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Assemble equal data after using the function Table.ReplaceValue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2271794#M55337</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;, I tried this solution by clicking on "Transform &amp;gt; Clean" but it didn't work. Do you have another idea ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 14:23:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2271794#M55337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-07T14:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Assemble equal data after using the function Table.ReplaceValue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2271845#M55344</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; ,&lt;BR /&gt;Can you a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 15:00:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2271845#M55344</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-01-07T15:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Assemble equal data after using the function Table.ReplaceValue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2272018#M55355</link>
      <description>&lt;P&gt;Unfortunaltly I can't, all data are sensitive&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 16:03:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2272018#M55355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-07T16:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Assemble equal data after using the function Table.ReplaceValue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2273894#M55403</link>
      <description>&lt;P&gt;Have you tried using trim as well as clean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failing that add a new step at end of power query to Replace "Apple" by "Test". Identify any rows that still have something that looks like Apple left which might give a clue.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jan 2022 08:23:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2273894#M55403</guid>
      <dc:creator>bcdobbs</dc:creator>
      <dc:date>2022-01-09T08:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Assemble equal data after using the function Table.ReplaceValue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2276831#M55594</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition to&amp;nbsp;&lt;A id="link_29" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/168297" target="_self" aria-label="View Profile of bcdobbs"&gt;&lt;SPAN class=""&gt;bcdobbs&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;'s reply, please try Trim function in Power Query.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here I have a test by add space front or behind "Apple". We can see there are three Apples which look like the same in Filter.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I find Clean function couldn't remove them. Try trim, it will work. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or find all different "Apples" by filter , copy them&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and compare them to find the difference.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For reference:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=jvbVVDyGpEs" target="_self"&gt;Trim Vs Clean in Power BI and Power Query&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 06:55:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assemble-equal-data-after-using-the-function-Table-ReplaceValue/m-p/2276831#M55594</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-11T06:55:08Z</dc:date>
    </item>
  </channel>
</rss>

