<?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 of non-zero records in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4374814#M173702</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="507897" data-lia-user-login="onape" class="lia-mention lia-mention-user"&gt;onape&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, this method requires that the date table is not related to the details table, otherwise the slicer will filter the matrix. You can create another date table for this method, and using your original date table (that is related to the details table) elsewhere in your report.&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;
&lt;P&gt;Mengmeng Li&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2025 05:34:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-01-22T05:34:40Z</dc:date>
    <item>
      <title>Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4367797#M173412</link>
      <description>&lt;P&gt;Hello, I'm hoping I could get some help with something I'm working on. I have a dataset that has values of customers investment per day. some days may be missing from the dataset. My visual has a date slicer (mm-yyyy). I need to do a distinct count of customer ID by Type in my table visual such that only last non-zero value amount on or before the selected date are counted.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The right hand side shows records that will be counted on not based on the filter&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so for example, if April 2024 is selected in my filter , the result will be&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried a numberof DAX but none is working correctly . Most of them do not count a record if the value date is not in the month of the date filter.&lt;BR /&gt;&lt;BR /&gt;Any help with this will be highly appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 16:01:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4367797#M173412</guid>
      <dc:creator>onape</dc:creator>
      <dc:date>2025-01-16T16:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4367849#M173418</link>
      <description>&lt;P&gt;I think you can use&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Num Customers =
VAR ReferenceDate =
    MAX ( 'Date'[Date] )
VAR SummaryTable =
    CALCULATETABLE (
        INDEX (
            1,
            'Table',
            ORDERBY ( 'Table'[Value Date], DESC ),
            PARTITIONBY ( 'Table'[Customer ID] )
        ),
        'Date'[Date] &amp;lt;= ReferenceDate,
        'Table'[Value Amount] &amp;gt; 0
    )
VAR Result =
    COUNTROWS ( SummaryTable )
RETURN
    Result
&lt;/LI-CODE&gt;
&lt;P&gt;Because the INDEX function will only produce 1 row per customer, per type, you don't need to do a distinct count, COUNTROWS should suffice.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 16:40:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4367849#M173418</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-01-16T16:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4368748#M173436</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="507897" data-lia-user-login="onape" class="lia-mention lia-mention-user"&gt;onape&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;PLEASE DO NOT PROVIDE THE SCREENSHOT.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 07:58:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4368748#M173436</guid>
      <dc:creator>sanalytics</dc:creator>
      <dc:date>2025-01-17T07:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4369045#M173450</link>
      <description>&lt;P&gt;Thank you for the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently getting an error though "INDEX's Relation parameter may have duplicate rows. This is not allowed." I'm guessing it's because a customer can have valuations on different or even same account number on the same day. Is there a way to fix this please?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 11:19:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4369045#M173450</guid>
      <dc:creator>onape</dc:creator>
      <dc:date>2025-01-17T11:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4369060#M173452</link>
      <description>&lt;P&gt;You may be able to get around that by using the MATCHBY function&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Num Customers =
VAR ReferenceDate =
    MAX ( 'Date'[Date] )
VAR SummaryTable =
    CALCULATETABLE (
        INDEX (
            1,
            'Table',
            ORDERBY ( 'Table'[Value Date], DESC ),
            PARTITIONBY ( 'Table'[Customer ID] ),
            MATCHBY ( 'Table'[Customer ID], 'Table'[Value Date] )
        ),
        'Date'[Date] &amp;lt;= ReferenceDate,
        'Table'[Value Amount] &amp;gt; 0
    )
VAR Result =
    COUNTROWS ( SummaryTable )
RETURN
    Result
&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 17 Jan 2025 11:31:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4369060#M173452</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-01-17T11:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4369092#M173456</link>
      <description>&lt;P&gt;Thank you again.&lt;BR /&gt;&lt;BR /&gt;I'm still getting an error message. Please see below.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 11:53:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4369092#M173456</guid>
      <dc:creator>onape</dc:creator>
      <dc:date>2025-01-17T11:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4369116#M173458</link>
      <description>&lt;P&gt;Hopefully this will remove the duplicates&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Num Customers =
VAR ReferenceDate =
    MAX ( 'Date'[Date] )
VAR BaseTable =
    CALCULATETABLE (
        SUMMARIZE ( 'Table', 'Table'[Customer ID], 'Table'[Value Date] ),
        'Date'[Date] &amp;lt;= ReferenceDate,
        'Table'[Value Amount] &amp;gt; 0
    )
VAR SummaryTable =
    INDEX (
        1,
        BaseTable,
        ORDERBY ( 'Table'[Value Date], DESC ),
        PARTITIONBY ( 'Table'[Customer ID] ),
        MATCHBY ( 'Table'[Customer ID], 'Table'[Value Date] )
    )
VAR Result =
    COUNTROWS ( SummaryTable )
RETURN
    Result
&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 17 Jan 2025 12:13:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4369116#M173458</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-01-17T12:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4369495#M173474</link>
      <description>&lt;P&gt;Thank you - This works but if a "Type" has no value at all in the selected month, that type is filtered off the table visual&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 16:01:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4369495#M173474</guid>
      <dc:creator>onape</dc:creator>
      <dc:date>2025-01-17T16:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4369530#M173476</link>
      <description>&lt;P&gt;Can you use Performance Analyzer to get a copy of the query used for the table visual, and post that.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 16:24:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4369530#M173476</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-01-17T16:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4370471#M173501</link>
      <description>&lt;DIV&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Please see the query below. Thanks.&lt;BR /&gt;&lt;BR /&gt;// DAX Query&lt;/DIV&gt;&lt;DIV&gt;DEFINE&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR __DS0FilterTable =&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TREATAS({"Aug 2024"}, 'Calendar Table'[Year-Month])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR __DS0Core =&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMMARIZECOLUMNS(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ROLLUPADDISSUBTOTAL('Sheet1'[Type], "IsGrandTotalRowTotal"),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;__DS0FilterTable,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Num_Customer", '_SampleTableMeasure'[Num Customer]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR __DS0PrimaryShowAll =&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ADDMISSINGITEMS(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Sheet1'[Type],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;__DS0Core,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ROLLUPISSUBTOTAL('Sheet1'[Type], [IsGrandTotalRowTotal]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;__DS0FilterTable,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATETABLE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DISTINCT('Sheet1'[Type]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;KEEPFILTERS(__DS0FilterTable)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR __DS0PrimaryWindowed =&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TOPN(502, __DS0PrimaryShowAll, [IsGrandTotalRowTotal], 0, 'Sheet1'[Type], 1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;EVALUATE&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;__DS0PrimaryWindowed&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ORDER BY&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[IsGrandTotalRowTotal] DESC, 'Sheet1'[Type]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jan 2025 06:11:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4370471#M173501</guid>
      <dc:creator>onape</dc:creator>
      <dc:date>2025-01-19T06:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4371527#M173550</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="507897" data-lia-user-login="onape" class="lia-mention lia-mention-user"&gt;onape&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My approach is to use&amp;nbsp;&lt;SPAN&gt;CROSSJOIN&amp;nbsp;&lt;/SPAN&gt;to create an intermediate table that counts whether the Type corresponding to each customer ID has an Amount of 0 at the maximum date, returns 0 if it does, and 1 otherwise, and then uses a matrix and utilizes subtotals on the rows to get the result you want. Here is my test and the pbix file for your reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step1. Custom Table.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 3 = CROSSJOIN(VALUES('Table'[Customer ID]),VALUES('Table'[Type]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step2. Create measures.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;1 = 
VAR _selectedMonth = MAX('Table 2'[Date])

VAR _maxdate = CALCULATE(MAX('Table'[Value Date]),ALL('Table'),'Table'[Customer ID]=MAX('Table 3'[Customer ID]),'Table'[Type]=MAX('Table 3'[Type]),'Table'[Value Date]&amp;lt;=_selectedMonth)

VAR _amount = CALCULATE(MAX('Table'[Value Amount]),'Table'[Customer ID]=MAX('Table 3'[Customer ID]),'Table'[Type]=MAX('Table 3'[Type]),'Table'[Value Date]=_maxdate)

VAR _check = IF(_amount&amp;gt;0,1,0)

RETURN
_check&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;DistCount = SUMX('Table 3',[1])&lt;/LI-CODE&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Mengmeng Li&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 09:28:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4371527#M173550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-20T09:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4371596#M173551</link>
      <description>&lt;P&gt;Is your date table marked as a date table ?&lt;/P&gt;
&lt;P&gt;Is there a relationship between your date table and Sheet1?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 09:58:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4371596#M173551</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-01-20T09:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4371978#M173565</link>
      <description>&lt;P&gt;Yes, my calendar table is marked as a date table and there's a relationship between it and Sheet1.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 13:55:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4371978#M173565</guid>
      <dc:creator>onape</dc:creator>
      <dc:date>2025-01-20T13:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4372043#M173568</link>
      <description>&lt;P&gt;Try unticking "Show items with no data"&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 14:28:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4372043#M173568</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-01-20T14:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4373994#M173666</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;. This worked if the 2 original tables (Dates and the details tables) do not have a relationship. For other purposes of the report, I will need them to have a relationship. Do you think there's something else that can be done?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 15:42:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4373994#M173666</guid>
      <dc:creator>onape</dc:creator>
      <dc:date>2025-01-21T15:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4373997#M173667</link>
      <description>&lt;P&gt;Unfortunately, It doesn't make a difference in the results.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 15:44:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4373997#M173667</guid>
      <dc:creator>onape</dc:creator>
      <dc:date>2025-01-21T15:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4374044#M173670</link>
      <description>&lt;P&gt;Can you post a sample PBIX with any confidential data removed, or a spreadsheet with the raw data? You can share from OneDrive or Google Drive or similar.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 16:18:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4374044#M173670</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-01-21T16:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4374814#M173702</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="507897" data-lia-user-login="onape" class="lia-mention lia-mention-user"&gt;onape&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, this method requires that the date table is not related to the details table, otherwise the slicer will filter the matrix. You can create another date table for this method, and using your original date table (that is related to the details table) elsewhere in your report.&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;
&lt;P&gt;Mengmeng Li&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 05:34:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4374814#M173702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-22T05:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4375754#M173733</link>
      <description>&lt;P&gt;Not quite sure of how attachments work here but I've included the link below. Please let me know if that works okay for you. Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://drive.google.com/file/d/1ILh3UIQ6CUORc79B0HeAoNiKXDYRoE8Y/view?usp=drive_link " target="_self"&gt;PBIX File&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 13:25:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4375754#M173733</guid>
      <dc:creator>onape</dc:creator>
      <dc:date>2025-01-22T13:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count of non-zero records</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4375768#M173734</link>
      <description>&lt;P&gt;Thanks for your help&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;. This method might not work for me because the users need to see some other metrics on the table visuals which are controlled by the date filter on the page.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 13:29:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-of-non-zero-records/m-p/4375768#M173734</guid>
      <dc:creator>onape</dc:creator>
      <dc:date>2025-01-22T13:29:21Z</dc:date>
    </item>
  </channel>
</rss>

