<?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 New coustmer count in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-coustmer-count/m-p/2983530#M100059</link>
    <description>&lt;P&gt;"Firstly i explain about my data i have data till 2016 to today&amp;nbsp;&lt;BR /&gt;table -cube target&lt;BR /&gt;&amp;nbsp; this is my data table here sold to partner code is dealer and invoice quantity is sale my date start from 2016 so i mention it everywhere."&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i want to create a measure that&amp;nbsp; calculate new dealer count that if i select november month of 22 then the created measure check all my data table and give me only count of those dealer that was not present in&amp;nbsp; my table from 2016 to oct month it means it only return the new dealer count which was not present in all previous month as similar&amp;nbsp;&lt;BR /&gt;when i select oct month of 22 it returns that new coustmer count that was not present in all data from 2016 to sep 2022&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Dec 2022 07:04:29 GMT</pubDate>
    <dc:creator>SachinNamdeo-20</dc:creator>
    <dc:date>2022-12-22T07:04:29Z</dc:date>
    <item>
      <title>New coustmer count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-coustmer-count/m-p/2983530#M100059</link>
      <description>&lt;P&gt;"Firstly i explain about my data i have data till 2016 to today&amp;nbsp;&lt;BR /&gt;table -cube target&lt;BR /&gt;&amp;nbsp; this is my data table here sold to partner code is dealer and invoice quantity is sale my date start from 2016 so i mention it everywhere."&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i want to create a measure that&amp;nbsp; calculate new dealer count that if i select november month of 22 then the created measure check all my data table and give me only count of those dealer that was not present in&amp;nbsp; my table from 2016 to oct month it means it only return the new dealer count which was not present in all previous month as similar&amp;nbsp;&lt;BR /&gt;when i select oct month of 22 it returns that new coustmer count that was not present in all data from 2016 to sep 2022&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 07:04:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-coustmer-count/m-p/2983530#M100059</guid>
      <dc:creator>SachinNamdeo-20</dc:creator>
      <dc:date>2022-12-22T07:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: New coustmer count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-coustmer-count/m-p/2984110#M100095</link>
      <description>&lt;P&gt;The below measure assumes that there is a relationship from your calendar table to the fact table&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Num new dealers =
VAR EndDate =
    EOMONTH ( MAX ( 'Calendar'[Date] ), -1 )
VAR PrevDealers =
    CALCULATETABLE (
        VALUES ( 'CUBE_TARGET'[D_PARTNER_PARTNER_CODE] ),
        REMOVEFILTERS ( 'Calendar' ),
        'Calendar'[Date] &amp;lt;= EndDate
    )
VAR CurrentDealers =
    VALUES ( 'CUBE_TARGET'[D_PARTNER_PARTNER_CODE] )
RETURN
    COUNTROWS ( EXCEPT ( CurrentDealers, PrevDealers ) )
&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 22 Dec 2022 11:55:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-coustmer-count/m-p/2984110#M100095</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-12-22T11:55:31Z</dc:date>
    </item>
  </channel>
</rss>

