<?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: Logical Count Function. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1129397#M16705</link>
    <description>&lt;P&gt;"-- get a list of all loans on both lists&lt;BR /&gt;VAT Onboth = INTESECT( ApplicationsNotBlank, AssignmentsBlank)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to make sure this is "VAR" on both and "INTERSECT"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done exactly that, the table actually loads with column names, but no data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2020 13:54:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-29T13:54:40Z</dc:date>
    <item>
      <title>Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1126742#M16639</link>
      <description>&lt;P&gt;I am trying to calclulate the following: When a certain date is blank, count a related date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF(IsBlank(A Date)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,COUNT(B Date)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Blank()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*This is a direct query with SQL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any tips on how to do this? I am new to PowerBi logic.&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 13:51:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1126742#M16639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-28T13:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1126894#M16642</link>
      <description>&lt;P&gt;&lt;SPAN class="hljs-built_in"&gt;Hi TSP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hljs-built_in"&gt;Please consider this solution and leave kudos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hljs-built_in"&gt;COUNTBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;lt;columnname&amp;gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this will count the number of rows with a blank value in the column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note it will return 0 if there are rows but&amp;nbsp;no blanks,&lt;BR /&gt;but will retrun blank if the table has no rows at all.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 14:52:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1126894#M16642</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2020-05-28T14:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1126908#M16643</link>
      <description>&lt;P&gt;Thanks for the suggestion, but I am wanting to count "B" Date if "A" date is blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 14:55:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1126908#M16643</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-28T14:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1126975#M16644</link>
      <description>&lt;P&gt;Hi again TSP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please consider this solution and leave kudos&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Mycounter =&lt;BR /&gt;CALCULATE(COUNT('MyTable'[MyColumnB),&lt;BR /&gt;FILTER('MyTable'[MyColumnA)=BLANK())&lt;BR /&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The filter just selects the rows with&amp;nbsp;ColumnA = blank&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;then the count counts the remaining rows with a populated ColumnB.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any rows with a blank ColumnB will not be counted.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 May 2020 15:10:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1126975#M16644</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2020-05-28T15:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127023#M16649</link>
      <description>&lt;P&gt;Would it matter if the blank date is in a different table? I am not getting any errors, but the count is not showing on a card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 15:25:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127023#M16649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-28T15:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127061#M16651</link>
      <description>&lt;P&gt;Please can you elborate and describe the 2 files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you saying you have 2 files each with a list of dates and you want to count which dates are on table A but not on table B?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will count dates on B but not on A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My count =&lt;/P&gt;&lt;P&gt;VAR lista = VALUES(tableA[date])&lt;BR /&gt;VAR listb = VALUES(tableB[date])&lt;BR /&gt;RETURN&lt;BR /&gt;COUNTROWS(&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hljs-built_in"&gt;EXCEPT(listb&lt;/SPAN&gt;&lt;SPAN&gt;, lista)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&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>Thu, 28 May 2020 15:43:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127061#M16651</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2020-05-28T15:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127122#M16654</link>
      <description>&lt;P&gt;See Below: All of my tables are Related Direct Queires from SQL. I am wanting to track how many loans are in the application process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do so, I am using dates. So in my main database, I am wanting to know how many loans that have an application date, but do not have an assigned date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 15:55:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127122#M16654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-28T15:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127299#M16658</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Please conisder a solution like this which creates a list of assigned loans and compares it to a list of applications =&lt;BR /&gt;&lt;BR /&gt;My count&amp;nbsp; = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR AssignedLoans = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATETABLE(VALUES(LoanTable[LoanID]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER(ALL(LoanTable),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LoanTable[AssignedDate] &amp;lt;&amp;gt; BLANK() )) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR Applications = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VALUES(ApplicationsTable[LoanID])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;COUNTROWS(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;EXCEPT( Applications, AssignedLoans) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 May 2020 16:54:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127299#M16658</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2020-05-28T16:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127497#M16661</link>
      <description>&lt;P&gt;This works almost exactly how I need it to, but I think I need to specify that the&amp;nbsp; loan "has" to have an application date. Would I include that filter in the 2nd VAR?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank&amp;nbsp; you for your help,&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 18:48:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127497#M16661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-28T18:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127766#M16663</link>
      <description>&lt;P&gt;Hi again TPN&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for your kudos, I enjoyed helping you during lockdown&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, I just assumed all the applications would have an application date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can change the 2nd var using CALCULATETABLE with FILTER to just get a list of applications with an application date, like this ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My count =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VAR AssignedLoans =&lt;BR /&gt;CALCULATETABLE(VALUES(LoanTable[LoanID]),&lt;BR /&gt;FILTER(ALL(LoanTable),&lt;BR /&gt;LoanTable[AssignedDate] &amp;lt;&amp;gt; BLANK() ))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VAR Applications =&lt;BR /&gt;CALCULATETABLE(VALUES(ApplicationsTable[LoanID]),&lt;BR /&gt;FILTER(ALL(ApplicationsTable),&lt;BR /&gt;ApplicationsTable[AppliedDate] &amp;lt;&amp;gt; BLANK() ))&lt;/P&gt;&lt;P&gt;RETURN&lt;BR /&gt;COUNTROWS(&lt;BR /&gt;EXCEPT( Applications, AssignedLoans)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 21:18:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127766#M16663</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2020-05-28T21:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127796#M16665</link>
      <description>&lt;P&gt;See below: The original formula worked closely, but I had to add a filter to the graph to get it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now this is what I have, and the tables and counters are not populating.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To reiderate: When Assigned Date IS Blank, then count loans that have an application date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 21:34:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127796#M16665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-28T21:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127872#M16668</link>
      <description>&lt;P&gt;Hi again TSP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please provide screen prints of the tables and columns next time.&lt;/P&gt;&lt;P&gt;You knew what you meant, but it was not 100% clear to me from your text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added comments to this measure so hopefully you can fathom the solution now, but ask for more help if needed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My count =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- get a list of all loans with blank assignments on TableA&lt;BR /&gt;VAR AssignmentsBlank =&lt;BR /&gt;CALCULATETABLE(VALUES(TableA[LoanID]),&lt;BR /&gt;FILTER(ALL(TableA),&lt;BR /&gt;&lt;STRONG&gt;TableA[AssignedDate] = BLANK() ))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- get a list of all loans with application dates on TableB&lt;BR /&gt;VAR ApplicationsNotBlank =&lt;BR /&gt;CALCULATETABLE(VALUES(TableB[LoanID]),&lt;BR /&gt;FILTER(ALL(TableB),&lt;BR /&gt;&lt;STRONG&gt;TableB[ApplicationDate] &amp;lt;&amp;gt; BLANK() ))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- get a list of all loans on both lists&lt;BR /&gt;VAT Onboth = INTESECT( ApplicationsNotBlank, AssignmentsBlank)&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- counts loans on both&lt;BR /&gt;COUNTROWS(Onboth)&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 22:28:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1127872#M16668</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2020-05-28T22:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1129397#M16705</link>
      <description>&lt;P&gt;"-- get a list of all loans on both lists&lt;BR /&gt;VAT Onboth = INTESECT( ApplicationsNotBlank, AssignmentsBlank)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to make sure this is "VAR" on both and "INTERSECT"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done exactly that, the table actually loads with column names, but no data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 13:54:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1129397#M16705</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-29T13:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1129666#M16712</link>
      <description>&lt;P&gt;Sorry about the typo.&amp;nbsp; Yes of course INTESECT should be&amp;nbsp;&lt;SPAN&gt;INTERSECT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created this example you. So you can look at the data, relationships and data measure&lt;BR /&gt;&lt;A title="Download this example" href="https://1drv.ms/u/s!AgMTUY3Uvq3bg4ETRSZK3nGJfW6xhg?e=hCx44U" target="_self"&gt;Download this example&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This counts the number of loans that have blank TableA[AssignedDate] and not blank TableB[ApplicationDate].&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note only loans 2, 4 and 7 fullfill this condition. So&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;My count = 3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My counts =&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;-- get a list of all loans with blank assignments on TableA&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR AssignmentsBlank =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATETABLE(VALUES(TableA[LoanID]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER(ALL(TableA),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TableA[AssignedDate] = BLANK() ))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;-- get a list of all loans with application dates on TableB&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR ApplicationsNotBlank =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATETABLE(VALUES(TableB[LoanID]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER(ALL(TableB),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TableB[ApplicationDate] &amp;lt;&amp;gt; BLANK() ))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;-- get a list of all loans on both lists&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR Onboth = INTERSECT(ApplicationsNotBlank, AssignmentsBlank)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-- counts loans on both&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;COUNTROWS(Onboth)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 May 2020 15:40:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1129666#M16712</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2020-05-29T15:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Count Function.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1138952#M17018</link>
      <description>&lt;P&gt;I accept that this would probably work in most scenarios. However, I think there may be some limitations regarding our SQL queries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can do the first part by itself and it will create a table, I can also do the same with the 2nd table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I do both and try to intersect, nothing populates.&lt;/P&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;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 13:19:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Count-Function/m-p/1138952#M17018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-03T13:19:33Z</dc:date>
    </item>
  </channel>
</rss>

