<?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: Simple countif in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-countif/m-p/2908945#M95005</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;It is for creating a new column.&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;
&lt;LI-CODE lang="markup"&gt;Expected result CC =
COUNTROWS (
    SUMMARIZE (
        FILTER (
            Data,
            Data[Employee] = EARLIER ( Data[Employee] )
                &amp;amp;&amp;amp; Data[Employee] IN DISTINCT ( Data[Random name] )
        ),
        Data[Employee]
    )
) + 0
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2022 09:38:45 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2022-11-16T09:38:45Z</dc:date>
    <item>
      <title>Simple countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-countif/m-p/2908801#M94994</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm quite new on Power BI. Could you please help me to write formula in Power BI column (COUNTIF formula in picture below). Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 09:01:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-countif/m-p/2908801#M94994</guid>
      <dc:creator>Edmundas</dc:creator>
      <dc:date>2022-11-16T09:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Simple countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-countif/m-p/2908943#M95004</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="395014" data-lia-user-login="Edmundas" class="lia-mention lia-mention-user"&gt;Edmundas&lt;/a&gt;&amp;nbsp;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;CONTAINS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table'[Random names]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Table'[Employee]&lt;/SPAN&gt;&lt;SPAN&gt;) + &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;BBF&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Nov 2022 09:38:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-countif/m-p/2908943#M95004</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2022-11-16T09:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Simple countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-countif/m-p/2908945#M95005</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;It is for creating a new column.&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;
&lt;LI-CODE lang="markup"&gt;Expected result CC =
COUNTROWS (
    SUMMARIZE (
        FILTER (
            Data,
            Data[Employee] = EARLIER ( Data[Employee] )
                &amp;amp;&amp;amp; Data[Employee] IN DISTINCT ( Data[Random name] )
        ),
        Data[Employee]
    )
) + 0
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 09:38:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-countif/m-p/2908945#M95005</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-11-16T09:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Simple countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-countif/m-p/2909074#M95010</link>
      <description>&lt;P&gt;Thanks guys, both formulas worked!!!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 10:16:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-countif/m-p/2909074#M95010</guid>
      <dc:creator>Edmundas</dc:creator>
      <dc:date>2022-11-16T10:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Simple countif</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-countif/m-p/2909095#M95011</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="395014" data-lia-user-login="Edmundas" class="lia-mention lia-mention-user"&gt;Edmundas&lt;/a&gt;&amp;nbsp;However, I advise you to adopt mine, as it is computationally lighter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BBF&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 10:19:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-countif/m-p/2909095#M95011</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2022-11-16T10:19:53Z</dc:date>
    </item>
  </channel>
</rss>

