<?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 if in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-if/m-p/2527964#M70769</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , A new column in DAX &lt;/P&gt;
&lt;P&gt;if([return reason] = "FPC" &amp;amp;&amp;amp; "Model" = "S123" , "FPR", [return reason] )&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2022 01:51:17 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-05-20T01:51:17Z</dc:date>
    <item>
      <title>Replace if</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-if/m-p/2527939#M70767</link>
      <description>&lt;P&gt;There are data clean up required. I want to replace the status in the column "return reason" from FPC to FPR where the column "Model" is equal to "S123". Any advice?&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 01:37:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-if/m-p/2527939#M70767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-20T01:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Replace if</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-if/m-p/2527964#M70769</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , A new column in DAX &lt;/P&gt;
&lt;P&gt;if([return reason] = "FPC" &amp;amp;&amp;amp; "Model" = "S123" , "FPR", [return reason] )&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 01:51:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-if/m-p/2527964#M70769</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-05-20T01:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Replace if</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-if/m-p/2527987#M70772</link>
      <description>&lt;P&gt;Creating a new column is not my plan.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 02:06:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-if/m-p/2527987#M70772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-20T02:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Replace if</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-if/m-p/2528013#M70774</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Then you need to do it power query , refer&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Replace-value-in-Power-Query-based-on-condition/td-p/1367325" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/Replace-value-in-Power-Query-based-on-condition/td-p/1367325&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 02:21:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-if/m-p/2528013#M70774</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-05-20T02:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Replace if</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-if/m-p/2535229#M71235</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;;&lt;/P&gt;
&lt;P&gt;Such as&amp;nbsp;amitchandak&amp;nbsp;said ,you could use replace value.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and if you want to change a column and don't want to add a new column, may be you must complete it in power query.&lt;/P&gt;
&lt;P&gt;One method is replace the value;&lt;/P&gt;
&lt;P&gt;Another method is add a condition column then delete the original column.&lt;/P&gt;
&lt;P&gt;&lt;A id="link_17" class="" href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/148838" target="_self" aria-label="View Profile of amitchandak"&gt;&lt;img /&gt;&lt;/A&gt;&lt;A id="link_17" class="" href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/148838" target="_self" aria-label="View Profile of amitchandak"&gt;&lt;img /&gt;&lt;/A&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Yalan Wu&lt;BR /&gt;If this post &lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 07:15:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-if/m-p/2535229#M71235</guid>
      <dc:creator>v-yalanwu-msft</dc:creator>
      <dc:date>2022-05-24T07:15:17Z</dc:date>
    </item>
  </channel>
</rss>

