<?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: Total distinct count not matching  with individual status count in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-distinct-count-not-matching-with-individual-status-count/m-p/1534812#M30152</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Below is my dataset structure , I am calculating distinct YTD count based on weekenddate.&amp;nbsp; &amp;nbsp;Here I am getting count is 3 which is correct .&lt;/P&gt;&lt;P&gt;but when display YTD by status, I am getting Open - 2, Closed-2&amp;nbsp; so total is 4 instead of 3 .How to handle this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IncidentID&amp;nbsp; &amp;nbsp; Status&amp;nbsp; &amp;nbsp;WeekendDate&lt;/P&gt;&lt;P&gt;--------&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;------&amp;nbsp; &amp;nbsp; &amp;nbsp;-------------&lt;BR /&gt;1234&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Open&amp;nbsp; &amp;nbsp; &amp;nbsp; 07-11-2020&lt;BR /&gt;5678&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Closed&amp;nbsp; &amp;nbsp; &amp;nbsp;07-11-2020&lt;BR /&gt;1234&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Closed&amp;nbsp; &amp;nbsp; &amp;nbsp;14-11-2020&lt;BR /&gt;4567&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;14-11-2020&lt;/P&gt;</description>
    <pubDate>Sun, 06 Dec 2020 16:14:23 GMT</pubDate>
    <dc:creator>abdul_kalam84</dc:creator>
    <dc:date>2020-12-06T16:14:23Z</dc:date>
    <item>
      <title>Total distinct count not matching  with individual status count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-distinct-count-not-matching-with-individual-status-count/m-p/1534350#M30137</link>
      <description>&lt;P&gt;I am new to Power BI and DAX. Need help on below scenario&lt;/P&gt;&lt;P&gt;I am loading weekly incident files into PowerBI, which has incident number ,status and weekending date.&lt;/P&gt;&lt;P&gt;However same incident number can repeat with different status in other week file .&lt;/P&gt;&lt;P&gt;when I do distinct incident count form all files, I am&amp;nbsp; getting 262 count but when displaying&amp;nbsp;status wise count getting more .&lt;/P&gt;&lt;P&gt;Its understandable due to status change, incident number is duplicating but not sure how to match total distinct&amp;nbsp;and category wise count. Please suggest.&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>Sat, 05 Dec 2020 19:31:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-distinct-count-not-matching-with-individual-status-count/m-p/1534350#M30137</guid>
      <dc:creator>abdul_kalam84</dc:creator>
      <dc:date>2020-12-05T19:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Total distinct count not matching  with individual status count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-distinct-count-not-matching-with-individual-status-count/m-p/1534398#M30138</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="274389" data-lia-user-login="abdul_kalam84" class="lia-mention lia-mention-user"&gt;abdul_kalam84&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure TOT =
SUMX ( DISTINCT ( Table1[CurrentStatus] ), [YTDSOSub] )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&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>Sat, 05 Dec 2020 22:25:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-distinct-count-not-matching-with-individual-status-count/m-p/1534398#M30138</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-12-05T22:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Total distinct count not matching  with individual status count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-distinct-count-not-matching-with-individual-status-count/m-p/1534812#M30152</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Below is my dataset structure , I am calculating distinct YTD count based on weekenddate.&amp;nbsp; &amp;nbsp;Here I am getting count is 3 which is correct .&lt;/P&gt;&lt;P&gt;but when display YTD by status, I am getting Open - 2, Closed-2&amp;nbsp; so total is 4 instead of 3 .How to handle this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IncidentID&amp;nbsp; &amp;nbsp; Status&amp;nbsp; &amp;nbsp;WeekendDate&lt;/P&gt;&lt;P&gt;--------&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;------&amp;nbsp; &amp;nbsp; &amp;nbsp;-------------&lt;BR /&gt;1234&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Open&amp;nbsp; &amp;nbsp; &amp;nbsp; 07-11-2020&lt;BR /&gt;5678&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Closed&amp;nbsp; &amp;nbsp; &amp;nbsp;07-11-2020&lt;BR /&gt;1234&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Closed&amp;nbsp; &amp;nbsp; &amp;nbsp;14-11-2020&lt;BR /&gt;4567&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;14-11-2020&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2020 16:14:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-distinct-count-not-matching-with-individual-status-count/m-p/1534812#M30152</guid>
      <dc:creator>abdul_kalam84</dc:creator>
      <dc:date>2020-12-06T16:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Total distinct count not matching  with individual status count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-distinct-count-not-matching-with-individual-status-count/m-p/1534834#M30154</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="274389" data-lia-user-login="abdul_kalam84" class="lia-mention lia-mention-user"&gt;abdul_kalam84&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want the 3 at the total just use:&lt;/P&gt;
&lt;DIV style="color: #000000; background-color: #fffffe; font-family: Consolas; font-weight: normal; font-size: 12px; line-height: 18px; white-space: pre;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;LI-CODE lang="markup"&gt;Measure = DISTINCTCOUNT(Table1[IncidentID ])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2020 17:13:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-distinct-count-not-matching-with-individual-status-count/m-p/1534834#M30154</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-12-06T17:13:57Z</dc:date>
    </item>
  </channel>
</rss>

