<?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: Asset Description with same class in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Asset-Description-with-same-class/m-p/2155106#M49745</link>
    <description>&lt;P&gt;Final Out Put=IF(CALCULATE(DISTINCTCOUNT(TableName[Asset class]),ALLEXCEPT(TableName,TableName[Asset description]))&amp;gt;1,"Anamoly","Not Anamoly")&lt;/P&gt;</description>
    <pubDate>Tue, 26 Oct 2021 07:28:51 GMT</pubDate>
    <dc:creator>wdx223_Daniel</dc:creator>
    <dc:date>2021-10-26T07:28:51Z</dc:date>
    <item>
      <title>Asset Description with same class</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Asset-Description-with-same-class/m-p/2154881#M49738</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a calculated column for the below criteria.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have differnent asset classes with different asset description with their codes.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here, For Example:- Asset Description are{ Fan, Pen, Chair, Table....}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Asset Classes Like{A,B,C....}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Codes{H,I..}&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here, Class "A" have Asset description like Fan and Pen. then These two asset description should not associate with Other Classes like{B,C..} with in the Same code. then result is &lt;STRONG&gt;Not Anamoly&lt;/STRONG&gt;.&lt;BR /&gt;If the description are associated with other classes in Same Code then it is &lt;STRONG&gt;Anamoly.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Find the below Capture.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In above picture, Asset class A have Fan and Pen with Code "I". But Pen is associated with Asset class "C" with Same code I, then all "pen" are &lt;STRONG&gt;Anamoly&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Fan is Associated with Asset Class B, But with different Code, then it is fine &amp;amp;&amp;nbsp; it's should be not Anamoly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If the code is different then it is fine&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 05:32:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Asset-Description-with-same-class/m-p/2154881#M49738</guid>
      <dc:creator>siva54</dc:creator>
      <dc:date>2021-10-26T05:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Asset Description with same class</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Asset-Description-with-same-class/m-p/2155106#M49745</link>
      <description>&lt;P&gt;Final Out Put=IF(CALCULATE(DISTINCTCOUNT(TableName[Asset class]),ALLEXCEPT(TableName,TableName[Asset description]))&amp;gt;1,"Anamoly","Not Anamoly")&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 07:28:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Asset-Description-with-same-class/m-p/2155106#M49745</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2021-10-26T07:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Asset Description with same class</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Asset-Description-with-same-class/m-p/2155336#M49759</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;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Add the following column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Check = 

VAR _DES = Table1[Asset Description]
VAR __CLASS = Table1[Asset class]
VAR _CODE = Table1[Code]
VAR _LIST = CALCULATETABLE( VALUES(Table1[Code]), Table1[Asset Description] = _DES , Table1[Asset class] &amp;lt;&amp;gt; __CLASS, REMOVEFILTERS( ) )
RETURN
    IF ( _CODE IN _LIST , "ANAmoly" , "Not An" )
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 08:44:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Asset-Description-with-same-class/m-p/2155336#M49759</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2021-10-26T08:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Asset Description with same class</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Asset-Description-with-same-class/m-p/2160055#M49942</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;According to your description, here&lt;/SPAN&gt;’&lt;SPAN&gt;s my solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ kalyj&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>Thu, 28 Oct 2021 07:06:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Asset-Description-with-same-class/m-p/2160055#M49942</guid>
      <dc:creator>v-yanjiang-msft</dc:creator>
      <dc:date>2021-10-28T07:06:05Z</dc:date>
    </item>
  </channel>
</rss>

