<?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: Count Not existing values in last quarter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Not-existing-values-in-last-quarter/m-p/1691976#M34793</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Check these two blog on customer retention can help you get what you need&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Customer Retention Part 1:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/ba-p/1361529" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/ba-p/1361529&lt;/A&gt;&lt;BR /&gt;Customer Retention Part 2: Period over Period Retention :&lt;A href="https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retention/ba-p/1377458" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retention/ba-p/1377458&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;else&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2021 11:15:39 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-02-26T11:15:39Z</dc:date>
    <item>
      <title>Count Not existing values in last quarter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Not-existing-values-in-last-quarter/m-p/1691788#M34785</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't compare values over time like i would like.&lt;/P&gt;&lt;P&gt;I have queries to retrieve distinct resellers each month :&lt;BR /&gt;Resellers QTD = var _max = maxx(ALLSELECTED(Revenue),Revenue[Period]) return&lt;BR /&gt;TOTALQTD(&lt;BR /&gt;DISTINCTCOUNT('Partner'[Reseller Ref]),&lt;BR /&gt;DATESQTD(Revenue[Period]),&lt;BR /&gt;FILTER('Partner','Partner'[Date Validation] &amp;lt;=_max &amp;amp;&amp;amp; 'Partner'[Date End] &amp;gt;=_max)&lt;BR /&gt;)&lt;BR /&gt;Resellers Q-1 = var _max = maxx(ALLSELECTED(Revenue),Revenue[Period]) return&lt;BR /&gt;TOTALQTD(&lt;BR /&gt;DISTINCTCOUNT('Partner'[Reseller Ref]),&lt;BR /&gt;DATEADD(Revenue[Period],-1,QUARTER),&lt;BR /&gt;FILTER('Partner','Partner'[Date Validation] &amp;lt;=_max &amp;amp;&amp;amp; 'Partner'[Date End] &amp;gt;=_max)&lt;BR /&gt;)&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After i use my measures to retrieve diff net value:&lt;BR /&gt;Net New QTD = [Resellers QTD]-[Resellers Q-1]&lt;BR /&gt;Net New Q-1 = [Resellers Q-1]-[Resellers Q-2]&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i would like to retrieve the distinct NEW resellers.&lt;BR /&gt;This mean if i have a DISTINCT('Partner'[Reseller Ref]) exists @ QTD but not present in Q-1, i would like to count him.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried something like this but it seems not working:&lt;/P&gt;&lt;P&gt;Expension Q-1 =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;[Resellers Q-1],&lt;BR /&gt;FILTER('Subscription Partner', [Resellers Q-1] &amp;lt;&amp;gt; [Resellers Q-2])&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea ? I don't want the NET NEW !&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 09:57:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Not-existing-values-in-last-quarter/m-p/1691788#M34785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-26T09:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Count Not existing values in last quarter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Not-existing-values-in-last-quarter/m-p/1691976#M34793</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Check these two blog on customer retention can help you get what you need&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Customer Retention Part 1:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/ba-p/1361529" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/ba-p/1361529&lt;/A&gt;&lt;BR /&gt;Customer Retention Part 2: Period over Period Retention :&lt;A href="https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retention/ba-p/1377458" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retention/ba-p/1377458&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;else&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 11:15:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Not-existing-values-in-last-quarter/m-p/1691976#M34793</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-02-26T11:15:39Z</dc:date>
    </item>
  </channel>
</rss>

