<?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: Count number of specific categories in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-specific-categories/m-p/2006158#M44591</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can add both your column in table visual and take distinct of your ID column&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;and now select filter as below:-&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samarth&lt;/P&gt;</description>
    <pubDate>Mon, 09 Aug 2021 14:58:43 GMT</pubDate>
    <dc:creator>Samarth_18</dc:creator>
    <dc:date>2021-08-09T14:58:43Z</dc:date>
    <item>
      <title>Count number of specific categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-specific-categories/m-p/2006088#M44586</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If I have the dataset below and want to find out the amount of categories with 2 or less IDs belonging, how do I do this.&amp;nbsp;&lt;BR /&gt;I have found the total amount of categories (in this example, num_cat = 4), but I struggle to find the number of categories with 2 or less IDs connected to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Num_cat_less_than_2 = 2 because only category C and D has less than 2 IDs connected to them.&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 14:38:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-specific-categories/m-p/2006088#M44586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-09T14:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of specific categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-specific-categories/m-p/2006158#M44591</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can add both your column in table visual and take distinct of your ID column&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;and now select filter as below:-&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samarth&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 14:58:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-specific-categories/m-p/2006158#M44591</guid>
      <dc:creator>Samarth_18</dc:creator>
      <dc:date>2021-08-09T14:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of specific categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-specific-categories/m-p/2006170#M44592</link>
      <description>&lt;P&gt;Thank you! I forgot to specify that I need to formulate this in DAX, not as a visualization.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 15:02:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-specific-categories/m-p/2006170#M44592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-09T15:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of specific categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-specific-categories/m-p/2006199#M44593</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Num_Cat_Less_Than_2 : =&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;COUNTROWS (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FILTER (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ADDCOLUMNS (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;VALUES ( 'Table'[Category] ),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"idcount", CALCULATE ( COUNTROWS ( 'Table' ) )&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[idcount] &amp;lt; 2&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 15:15:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-specific-categories/m-p/2006199#M44593</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-08-09T15:15:23Z</dc:date>
    </item>
  </channel>
</rss>

