<?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: DAX Distinct Count with Filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Distinct-Count-with-Filter/m-p/1116930#M16356</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;my apologies. Here is sample dataset.&lt;/P&gt;&lt;P&gt;Output result: What is the count of (unique) tickets that have a scan date? My current formula is:&lt;/P&gt;&lt;P&gt;Total_Tickets_With_Scan:=CALCULATE(DISTINCTCOUNT(Table_Name[TICKET]),Table_Name[SCAN_DATETIME]&amp;lt;&amp;gt;BLANK())&lt;/P&gt;&lt;P&gt;Hope that made sense.&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;TICKET&lt;/TD&gt;&lt;TD&gt;SCAN_DATETIME&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166549317&lt;/TD&gt;&lt;TD&gt;28/04/2020 12:52&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166549626&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166549820&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166550071&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166550329&lt;/TD&gt;&lt;TD&gt;28/04/2020 12:51&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166550394&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166550403&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166550448&lt;/TD&gt;&lt;TD&gt;28/04/2020 16:53&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166551125&lt;/TD&gt;&lt;TD&gt;28/04/2020 17:53&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166551545&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 May 2020 03:34:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-25T03:34:14Z</dc:date>
    <item>
      <title>DAX Distinct Count with Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Distinct-Count-with-Filter/m-p/1116832#M16351</link>
      <description>&lt;P&gt;I'm comparing 2 columns; [Ticket Number] and [Scan datetime] in the same table.&lt;/P&gt;&lt;P&gt;I need to find the total number of unique tickets with a scan. I came up with the following formula but not sure if its correct....&lt;/P&gt;&lt;P&gt;TotalAccepScan:=CALCULATE(DISTINCTCOUNT(Table_name[TICKET]),Table_name[ACCEPTANCE_DATETIME]&amp;lt;&amp;gt;BLANK())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 02:20:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Distinct-Count-with-Filter/m-p/1116832#M16351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-25T02:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Distinct Count with Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Distinct-Count-with-Filter/m-p/1116900#M16355</link>
      <description>&lt;P&gt;That's a very difficult question to answer with the information provided&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;.&amp;nbsp;Please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 03:08:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Distinct-Count-with-Filter/m-p/1116900#M16355</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-25T03:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Distinct Count with Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Distinct-Count-with-Filter/m-p/1116930#M16356</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;my apologies. Here is sample dataset.&lt;/P&gt;&lt;P&gt;Output result: What is the count of (unique) tickets that have a scan date? My current formula is:&lt;/P&gt;&lt;P&gt;Total_Tickets_With_Scan:=CALCULATE(DISTINCTCOUNT(Table_Name[TICKET]),Table_Name[SCAN_DATETIME]&amp;lt;&amp;gt;BLANK())&lt;/P&gt;&lt;P&gt;Hope that made sense.&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;TICKET&lt;/TD&gt;&lt;TD&gt;SCAN_DATETIME&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166549317&lt;/TD&gt;&lt;TD&gt;28/04/2020 12:52&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166549626&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166549820&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166550071&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166550329&lt;/TD&gt;&lt;TD&gt;28/04/2020 12:51&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166550394&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166550403&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166550448&lt;/TD&gt;&lt;TD&gt;28/04/2020 16:53&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166551125&lt;/TD&gt;&lt;TD&gt;28/04/2020 17:53&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FF166551545&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 03:34:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Distinct-Count-with-Filter/m-p/1116930#M16356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-25T03:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Distinct Count with Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Distinct-Count-with-Filter/m-p/1116933#M16357</link>
      <description>Anonymous&lt;/a&gt; - I do not see anything wrong with that calculation. It is probably not how I would have structured it but because I try to avoid using CALCULATE but there is nothing wrong with it if your intention is to get a distinct count of only the TICKET's that have a SCAN_DATETIME.</description>
      <pubDate>Mon, 25 May 2020 03:38:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Distinct-Count-with-Filter/m-p/1116933#M16357</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-25T03:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Distinct Count with Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Distinct-Count-with-Filter/m-p/1116943#M16358</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;thank you for confirming. Appreciate your help.&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 03:57:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Distinct-Count-with-Filter/m-p/1116943#M16358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-25T03:57:50Z</dc:date>
    </item>
  </channel>
</rss>

