<?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 Translate EXCEL to DAX Function in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-EXCEL-to-DAX-Function/m-p/2071265#M46852</link>
    <description>&lt;P&gt;Could someone please help me understand and translate an Excel formula to DAX solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=COUNTIFS($D:$D,"",$A:$A,"&amp;lt;&amp;gt;",$B:$B,"&amp;lt;&amp;gt;",$C:$C,"")&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;I tried doing it in bits to understand and this is what I got...&lt;/P&gt;&lt;P&gt;=COUNTIF($D:$D,"") = 1048573 (or the cells from excel that are blank)&lt;/P&gt;&lt;P&gt;=COUNTIF($A:$A,"&amp;lt;&amp;gt;") = 4&lt;/P&gt;&lt;P&gt;=COUNTIF($B:$B,"&amp;lt;&amp;gt;") = 4&lt;/P&gt;&lt;P&gt;=COUNTIF($C:$C,"") =&amp;nbsp;1048571 (or the cells from excel that are blank)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now to put it together&amp;nbsp;=COUNTIFS($D:$D,"",$A:$A,"&amp;lt;&amp;gt;",$B:$B,"&amp;lt;&amp;gt;",$C:$C,""), the result from my understanding would be 2 since it already has trimmed down the statements... (but the result was 0!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I translated this to DAX in the hopes that I could get a sense of it, but the result was blank..&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How do I translate filtering those that have no duplicates of values for Cells A and B because I assume this is where the mistake is?&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Approval = CALCULATE (
    COUNTROWS ('Excel'),
        FILTER (
            'Excel',
                'Excel (A).[Date] &amp;lt;&amp;gt; 'Excel (A).[Date]
                &amp;amp;&amp;amp; 'Excel (B).[Date] &amp;lt;&amp;gt; 'Excel (B).[Date]
                &amp;amp;&amp;amp; 'Excel (C) = Blank()
            )
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 12 Sep 2021 21:27:26 GMT</pubDate>
    <dc:creator>GA1993</dc:creator>
    <dc:date>2021-09-12T21:27:26Z</dc:date>
    <item>
      <title>Translate EXCEL to DAX Function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-EXCEL-to-DAX-Function/m-p/2071265#M46852</link>
      <description>&lt;P&gt;Could someone please help me understand and translate an Excel formula to DAX solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=COUNTIFS($D:$D,"",$A:$A,"&amp;lt;&amp;gt;",$B:$B,"&amp;lt;&amp;gt;",$C:$C,"")&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;I tried doing it in bits to understand and this is what I got...&lt;/P&gt;&lt;P&gt;=COUNTIF($D:$D,"") = 1048573 (or the cells from excel that are blank)&lt;/P&gt;&lt;P&gt;=COUNTIF($A:$A,"&amp;lt;&amp;gt;") = 4&lt;/P&gt;&lt;P&gt;=COUNTIF($B:$B,"&amp;lt;&amp;gt;") = 4&lt;/P&gt;&lt;P&gt;=COUNTIF($C:$C,"") =&amp;nbsp;1048571 (or the cells from excel that are blank)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now to put it together&amp;nbsp;=COUNTIFS($D:$D,"",$A:$A,"&amp;lt;&amp;gt;",$B:$B,"&amp;lt;&amp;gt;",$C:$C,""), the result from my understanding would be 2 since it already has trimmed down the statements... (but the result was 0!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I translated this to DAX in the hopes that I could get a sense of it, but the result was blank..&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How do I translate filtering those that have no duplicates of values for Cells A and B because I assume this is where the mistake is?&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Approval = CALCULATE (
    COUNTROWS ('Excel'),
        FILTER (
            'Excel',
                'Excel (A).[Date] &amp;lt;&amp;gt; 'Excel (A).[Date]
                &amp;amp;&amp;amp; 'Excel (B).[Date] &amp;lt;&amp;gt; 'Excel (B).[Date]
                &amp;amp;&amp;amp; 'Excel (C) = Blank()
            )
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Sep 2021 21:27:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-EXCEL-to-DAX-Function/m-p/2071265#M46852</guid>
      <dc:creator>GA1993</dc:creator>
      <dc:date>2021-09-12T21:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Translate EXCEL to DAX Function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-EXCEL-to-DAX-Function/m-p/2071341#M46857</link>
      <description>&lt;LI-CODE lang="cpp"&gt;COUNTROWS (
        FILTER (
            'Excel',
                NOT(ISBLANK('Excel'[A]))
                &amp;amp;&amp;amp;NOT(ISBLANK('Excel'[B]))
                &amp;amp;&amp;amp; ISBLANK('Excel'[C])
                &amp;amp;&amp;amp; ISBLANK('Excel'[D])
            ))&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 Sep 2021 00:40:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-EXCEL-to-DAX-Function/m-p/2071341#M46857</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2021-09-13T00:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Translate EXCEL to DAX Function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-EXCEL-to-DAX-Function/m-p/2071359#M46863</link>
      <description>&lt;P&gt;I understand C &amp;amp; D as "ISBLANK", but I am not sure with A &amp;amp; B as they are looking for the Distinct values. I am just not sure how to translate this to a DAX function..&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 01:03:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-EXCEL-to-DAX-Function/m-p/2071359#M46863</guid>
      <dc:creator>GA1993</dc:creator>
      <dc:date>2021-09-13T01:03:04Z</dc:date>
    </item>
  </channel>
</rss>

