<?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 the value Based other column particular market in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-the-value-Based-other-column-particular-market/m-p/3031259#M103588</link>
    <description>&lt;P&gt;One way to achieve this in Power BI is to use the FILTER and IF functions together in a calculated column. You can create a new calculated column called "Packtype_Filtered" and use the following formula:&lt;/P&gt;&lt;P&gt;=IF(Global_POL[Market] = "UA04", BLANK(), Global_POL[Packtype])&lt;/P&gt;&lt;P&gt;This formula checks if the value in the "Market" column is "UA04", and if so, it returns a blank value. If not, it returns the original value from the "Packtype" column.&lt;/P&gt;&lt;P&gt;Alternatively, you can also use the SWITCH function to check for different market values and replace the packtype value accordingly:&lt;/P&gt;&lt;P&gt;=SWITCH(Global_POL[Market], "UA04", BLANK(), Global_POL[Packtype])&lt;/P&gt;&lt;P&gt;This function checks the market value, and replaces the packtype value based on the market value.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2023 12:30:47 GMT</pubDate>
    <dc:creator>jaweher899</dc:creator>
    <dc:date>2023-01-19T12:30:47Z</dc:date>
    <item>
      <title>Replace the value Based other column particular market</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-the-value-Based-other-column-particular-market/m-p/3031017#M103577</link>
      <description>&lt;P&gt;I have the table name called Global POL. this table have three column . i am trying to replace the packtype value for&amp;nbsp; particular market&amp;nbsp; UA04&amp;nbsp; .this market vakue trying to&amp;nbsp; set null value value. when i use replace value its changed for the all market&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Market&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; packtype&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;UA04&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SOFTPACK&lt;/P&gt;&lt;P&gt;UA04&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; REMARK&amp;nbsp;&lt;/P&gt;&lt;P&gt;CA04&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SOFTPACK&lt;/P&gt;&lt;P&gt;CA04&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;REMARK&lt;/P&gt;&lt;P&gt;MA04&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SOFTPACK&lt;/P&gt;&lt;P&gt;MA04&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;REMARK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected Output:&lt;/P&gt;&lt;P&gt;UA04&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UA04&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;CA04&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SOFTPACK&lt;/P&gt;&lt;P&gt;CA04&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;REMARK&lt;/P&gt;&lt;P&gt;MA04&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SOFTPACK&lt;/P&gt;&lt;P&gt;MA04&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;REMARK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking for support . thanks in advance .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 11:10:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-the-value-Based-other-column-particular-market/m-p/3031017#M103577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-19T11:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Replace the value Based other column particular market</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-the-value-Based-other-column-particular-market/m-p/3031158#M103583</link>
      <description>&lt;P&gt;hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try to create a calculated column like this:&lt;/P&gt;&lt;P&gt;column = IF([Market]&amp;lt;&amp;gt;"UA01", [packtype])&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 12:05:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-the-value-Based-other-column-particular-market/m-p/3031158#M103583</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-19T12:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Replace the value Based other column particular market</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-the-value-Based-other-column-particular-market/m-p/3031259#M103588</link>
      <description>&lt;P&gt;One way to achieve this in Power BI is to use the FILTER and IF functions together in a calculated column. You can create a new calculated column called "Packtype_Filtered" and use the following formula:&lt;/P&gt;&lt;P&gt;=IF(Global_POL[Market] = "UA04", BLANK(), Global_POL[Packtype])&lt;/P&gt;&lt;P&gt;This formula checks if the value in the "Market" column is "UA04", and if so, it returns a blank value. If not, it returns the original value from the "Packtype" column.&lt;/P&gt;&lt;P&gt;Alternatively, you can also use the SWITCH function to check for different market values and replace the packtype value accordingly:&lt;/P&gt;&lt;P&gt;=SWITCH(Global_POL[Market], "UA04", BLANK(), Global_POL[Packtype])&lt;/P&gt;&lt;P&gt;This function checks the market value, and replaces the packtype value based on the market value.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 12:30:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-the-value-Based-other-column-particular-market/m-p/3031259#M103588</guid>
      <dc:creator>jaweher899</dc:creator>
      <dc:date>2023-01-19T12:30:47Z</dc:date>
    </item>
  </channel>
</rss>

