<?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: Distinct Count YTD by Month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-YTD-by-Month/m-p/1660701#M33848</link>
    <description>&lt;P&gt;Holy crap, that worked...&lt;/P&gt;&lt;P&gt;Sorry to be a pain, but can you explain to me what is really going on in this function? I could't figure it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank man..&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2021 14:06:46 GMT</pubDate>
    <dc:creator>diogoricciardi</dc:creator>
    <dc:date>2021-02-11T14:06:46Z</dc:date>
    <item>
      <title>Distinct Count YTD by Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-YTD-by-Month/m-p/1660519#M33839</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you're all safe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having some trouble trying to figure out how to calculate a YTD distinct count by month.&lt;/P&gt;&lt;P&gt;To be more specific, when I use TOTALYTD function with DISTINCTCOUNT it counts the distinct values using the entire table, which means, if there's a value that appears both on January and on February, it will count as 1.&lt;/P&gt;&lt;P&gt;What I would like to do is to count these values separately, the distintict count of january + the distinct count of february and so on.&lt;/P&gt;&lt;P&gt;Is there an option for doing it automatically? I mean, without having to count each month separately and adding afterwards?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be very much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 12:29:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-YTD-by-Month/m-p/1660519#M33839</guid>
      <dc:creator>diogoricciardi</dc:creator>
      <dc:date>2021-02-11T12:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count YTD by Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-YTD-by-Month/m-p/1660560#M33841</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="208346" data-lia-user-login="diogoricciardi" class="lia-mention lia-mention-user"&gt;diogoricciardi&lt;/a&gt; , Try a measure like &lt;/P&gt;
&lt;P&gt;YTD Sales = CALCULATE(SUMX(values('Date'[Month Year]), calculate(Distinctcount(Table[ID]))),DATESYTD('Date'[Date],"12/31"))&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 13:00:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-YTD-by-Month/m-p/1660560#M33841</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-02-11T13:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count YTD by Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-YTD-by-Month/m-p/1660701#M33848</link>
      <description>&lt;P&gt;Holy crap, that worked...&lt;/P&gt;&lt;P&gt;Sorry to be a pain, but can you explain to me what is really going on in this function? I could't figure it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank man..&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 14:06:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-YTD-by-Month/m-p/1660701#M33848</guid>
      <dc:creator>diogoricciardi</dc:creator>
      <dc:date>2021-02-11T14:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count YTD by Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-YTD-by-Month/m-p/1660824#M33854</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="208346" data-lia-user-login="diogoricciardi" class="lia-mention lia-mention-user"&gt;diogoricciardi&lt;/a&gt; , values('Date'[Month Year]) is forcing the data to be distinct count till month level, and post that sumx will work. A level of details implementation &lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 14:55:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-YTD-by-Month/m-p/1660824#M33854</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-02-11T14:55:02Z</dc:date>
    </item>
  </channel>
</rss>

