<?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: Get the Sum of distinct count in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-Sum-of-distinct-count/m-p/3422238#M129560</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="439023" data-lia-user-login="Pbrit" class="lia-mention lia-mention-user"&gt;Pbrit&lt;/a&gt;&amp;nbsp;try test measure below&lt;BR /&gt;Test =&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;SUMX(&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VALUES(DimDate[Year]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[Student Count Adm 4Yrs]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;)&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Did I answer your question? Kudos appreciated / accept solution!&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 08 Sep 2023 21:13:30 GMT</pubDate>
    <dc:creator>some_bih</dc:creator>
    <dc:date>2023-09-08T21:13:30Z</dc:date>
    <item>
      <title>Get the Sum of distinct count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-Sum-of-distinct-count/m-p/3422181#M129558</link>
      <description>&lt;P&gt;Dear Community Members,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dax calculation that gets the count of students that were admitted 4 years ago.&lt;/P&gt;&lt;P&gt;My challenge is how to sum it, the result gives me the last value as the total instead of the sum of each row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find my DAX query below:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Student Count Adm 4Yrs =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;DISTINCTCOUNT(Admissions[AUGSTNO]),&lt;BR /&gt;DATEADD(DATESYTD(DimDate[Date]),-4,YEAR),&lt;BR /&gt;USERELATIONSHIP(Admissions[AUGSTNO],Graduation[GSTNO])&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;What I expect is the total to be the sum of the Student Count Adm 4yrs for each year.&lt;BR /&gt;&lt;BR /&gt;Any direction to resolve this would be appreciated.&amp;nbsp;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 20:22:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-Sum-of-distinct-count/m-p/3422181#M129558</guid>
      <dc:creator>Pbrit</dc:creator>
      <dc:date>2023-09-08T20:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Get the Sum of distinct count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-Sum-of-distinct-count/m-p/3422238#M129560</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="439023" data-lia-user-login="Pbrit" class="lia-mention lia-mention-user"&gt;Pbrit&lt;/a&gt;&amp;nbsp;try test measure below&lt;BR /&gt;Test =&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;SUMX(&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VALUES(DimDate[Year]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[Student Count Adm 4Yrs]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;)&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Did I answer your question? Kudos appreciated / accept solution!&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Sep 2023 21:13:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-Sum-of-distinct-count/m-p/3422238#M129560</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-09-08T21:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get the Sum of distinct count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-Sum-of-distinct-count/m-p/3422241#M129561</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;&amp;nbsp;Thank You,&amp;nbsp;&lt;BR /&gt;This worked.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 21:21:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-Sum-of-distinct-count/m-p/3422241#M129561</guid>
      <dc:creator>Pbrit</dc:creator>
      <dc:date>2023-09-08T21:21:51Z</dc:date>
    </item>
  </channel>
</rss>

