<?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 Totalling a distinct count measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Totalling-a-distinct-count-measure/m-p/4323270#M171635</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;User Count = &lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;('View Data'[DisplayName])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If I am using his meansure in a matrix I need the total to be a total of the distinct counts.&amp;nbsp; I had seen a suggesion to use HASONEFILTER but not sure how to apply it to this measure to make it work correctly.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 11 Dec 2024 07:59:57 GMT</pubDate>
    <dc:creator>et123</dc:creator>
    <dc:date>2024-12-11T07:59:57Z</dc:date>
    <item>
      <title>Totalling a distinct count measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Totalling-a-distinct-count-measure/m-p/4323270#M171635</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;User Count = &lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;('View Data'[DisplayName])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If I am using his meansure in a matrix I need the total to be a total of the distinct counts.&amp;nbsp; I had seen a suggesion to use HASONEFILTER but not sure how to apply it to this measure to make it work correctly.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Dec 2024 07:59:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Totalling-a-distinct-count-measure/m-p/4323270#M171635</guid>
      <dc:creator>et123</dc:creator>
      <dc:date>2024-12-11T07:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Totalling a distinct count measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Totalling-a-distinct-count-measure/m-p/4323359#M171638</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="886491" data-lia-user-login="et123" class="lia-mention lia-mention-user"&gt;et123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;User Count = 
SUMX( 
   VALUES( 'View Data'[DisplayName] ), 
   DISTINCTCOUNT( 'View Data'[DisplayName] )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 11 Dec 2024 08:43:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Totalling-a-distinct-count-measure/m-p/4323359#M171638</guid>
      <dc:creator>timalbers</dc:creator>
      <dc:date>2024-12-11T08:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Totalling a distinct count measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Totalling-a-distinct-count-measure/m-p/4326059#M171747</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="886491" data-lia-user-login="et123" class="lia-mention lia-mention-user"&gt;et123&lt;/a&gt;&amp;nbsp;- If I interpret your requirement correctly you need every row to show the same total, e.g. each row will show the total of the&amp;nbsp;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;('View Data'[DisplayName]), in which case this should work:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CALCULATE
   DISTINCTCOUNT( 'View Data'[DisplayName] ),
   REMOVEFILTERS( 'View Data' )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this works, please accept as the solution, it helps with visibility for others with the same challenge, if it does not, please provide more information about what you are trying to acheive, and some sample data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 13:40:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Totalling-a-distinct-count-measure/m-p/4326059#M171747</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-12-12T13:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Totalling a distinct count measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Totalling-a-distinct-count-measure/m-p/4334048#M172073</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="886491" data-lia-user-login="et123" class="lia-mention lia-mention-user"&gt;et123&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;similar situation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
DISTINCTCOUNT('Table'[Column])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Measure 2 = 
VAR _table = SUMMARIZE('Table',[Type],"Result",[Measure])
RETURN
SUMX(_table,[Result])&lt;/LI-CODE&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 03:05:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Totalling-a-distinct-count-measure/m-p/4334048#M172073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-18T03:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Totalling a distinct count measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Totalling-a-distinct-count-measure/m-p/4340708#M172359</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="886491" data-lia-user-login="et123" class="lia-mention lia-mention-user"&gt;et123&lt;/a&gt;&amp;nbsp;&amp;nbsp;- did we resolve your issue? If we did, please select the appropriate solution, it helps with visibility for others and for SuperUsers to keep their status! Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 10:46:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Totalling-a-distinct-count-measure/m-p/4340708#M172359</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-12-23T10:46:24Z</dc:date>
    </item>
  </channel>
</rss>

