<?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 Memory Issues with DISTINCTCOUNT in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Memory-Issues-with-DISTINCTCOUNT/m-p/2832136#M90254</link>
    <description>&lt;P&gt;HI ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am having issues with using DISTINCTCOUNT /COUNTROWS function for my tabular model. Both of them are giving memory related errors. The Fact Table has 500k records and the AggMeasure is an existing measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to just find the distinct count of Materials where AggMeasure&amp;gt;0 based on user filtering. Is this possible? Please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Coverage:=CALCULATE(DISTINCTCOUNT('Material'[ID]),FILTER('Fact',[AggMeasure]&amp;gt;0))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Coverage2:=&lt;BR /&gt;COUNTROWS(SUMMARIZE(FILTER('Fact',[AggMeasure]&amp;gt;0),'Material'[ID]&lt;BR /&gt;))&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2022 21:24:50 GMT</pubDate>
    <dc:creator>gardas_swathi</dc:creator>
    <dc:date>2022-10-10T21:24:50Z</dc:date>
    <item>
      <title>Memory Issues with DISTINCTCOUNT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Memory-Issues-with-DISTINCTCOUNT/m-p/2832136#M90254</link>
      <description>&lt;P&gt;HI ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am having issues with using DISTINCTCOUNT /COUNTROWS function for my tabular model. Both of them are giving memory related errors. The Fact Table has 500k records and the AggMeasure is an existing measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to just find the distinct count of Materials where AggMeasure&amp;gt;0 based on user filtering. Is this possible? Please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Coverage:=CALCULATE(DISTINCTCOUNT('Material'[ID]),FILTER('Fact',[AggMeasure]&amp;gt;0))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Coverage2:=&lt;BR /&gt;COUNTROWS(SUMMARIZE(FILTER('Fact',[AggMeasure]&amp;gt;0),'Material'[ID]&lt;BR /&gt;))&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 21:24:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Memory-Issues-with-DISTINCTCOUNT/m-p/2832136#M90254</guid>
      <dc:creator>gardas_swathi</dc:creator>
      <dc:date>2022-10-10T21:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Issues with DISTINCTCOUNT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Memory-Issues-with-DISTINCTCOUNT/m-p/2832392#M90267</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="159551" data-lia-user-login="gardas_swathi" class="lia-mention lia-mention-user"&gt;gardas_swathi&lt;/a&gt; , Try &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;COUNTROWS(FILTER(Values('Fact'Material'[ID]'),[AggMeasure]&amp;gt;0)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 01:26:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Memory-Issues-with-DISTINCTCOUNT/m-p/2832392#M90267</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-10-11T01:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Issues with DISTINCTCOUNT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Memory-Issues-with-DISTINCTCOUNT/m-p/2845498#M91051</link>
      <description>&lt;P&gt;Thanks Amit. That worked&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 04:38:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Memory-Issues-with-DISTINCTCOUNT/m-p/2845498#M91051</guid>
      <dc:creator>gardas_swathi</dc:creator>
      <dc:date>2022-10-17T04:38:44Z</dc:date>
    </item>
  </channel>
</rss>

