<?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: Creating a calculated column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-calculated-column/m-p/2082499#M47246</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="326956" data-lia-user-login="siva54" class="lia-mention lia-mention-user"&gt;siva54&lt;/a&gt; , Try like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;new column = &lt;BR /&gt;var _1= calculate(distinctCOUNT([CATEGORY]), filter(Table, [product] = earlier([product])))&lt;BR /&gt;return &lt;BR /&gt;if(_1 &amp;gt;1 , "No", "Yes")&lt;/P&gt;</description>
    <pubDate>Fri, 17 Sep 2021 10:56:38 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-09-17T10:56:38Z</dc:date>
    <item>
      <title>Creating a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-calculated-column/m-p/2082380#M47244</link>
      <description>&lt;P&gt;Hi Team&lt;/P&gt;&lt;P&gt;I'm new to power bi, need help to get the Result column.&lt;/P&gt;&lt;P&gt;Here the requirement is, Multiple Porducts can associated with only single Category.&lt;BR /&gt;For Example, {A=Fan,Pen}. Here Fan amd Pen is only for Category A. and they should not be used for Other categories&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if Fan or pen used for Other categoreis then the result is "No".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Find the below picture for your reference.&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;Regards,&lt;/P&gt;&lt;P&gt;siva54&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 09:51:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-calculated-column/m-p/2082380#M47244</guid>
      <dc:creator>siva54</dc:creator>
      <dc:date>2021-09-17T09:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-calculated-column/m-p/2082499#M47246</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="326956" data-lia-user-login="siva54" class="lia-mention lia-mention-user"&gt;siva54&lt;/a&gt; , Try like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;new column = &lt;BR /&gt;var _1= calculate(distinctCOUNT([CATEGORY]), filter(Table, [product] = earlier([product])))&lt;BR /&gt;return &lt;BR /&gt;if(_1 &amp;gt;1 , "No", "Yes")&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 10:56:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-calculated-column/m-p/2082499#M47246</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-09-17T10:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-calculated-column/m-p/2149530#M49502</link>
      <description>&lt;P&gt;Hi&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;&amp;nbsp; Thanks for the solution. Need analyse cocd level also.&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;Here dax is&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;var _1= calculate(distinctCOUNT([CATEGORY]), filter(Table, [product] = earlier([product])))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if(_1 &amp;gt;1 , "No", "Yes")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;in that need to filter out with Cocd .&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 04:50:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-calculated-column/m-p/2149530#M49502</guid>
      <dc:creator>siva54</dc:creator>
      <dc:date>2021-10-22T04:50:51Z</dc:date>
    </item>
  </channel>
</rss>

