<?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: Active subscriptions and New active subscriptions Dax measures in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-subscriptions-and-New-active-subscriptions-Dax-measures/m-p/4089150#M162291</link>
    <description>&lt;P&gt;Right, first measure will remain as it is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;update second one as&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dax&lt;BR /&gt;TotalNewActiveSubscriptions = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(Subscriptions),&lt;BR /&gt;FILTER(&lt;BR /&gt;Subscriptions,&lt;BR /&gt;Subscriptions[SUBSCRIPTION_START_DATE] &amp;gt;= STARTOFMONTH(DateTable[Date]) &amp;amp;&amp;amp;&lt;BR /&gt;Subscriptions[SUBSCRIPTION_START_DATE] &amp;lt; ENDOFMONTH(DateTable[Date])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And 3rd one as&lt;/P&gt;
&lt;P&gt;TotalNewUnsubscribedSubscriptions = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(Subscriptions),&lt;BR /&gt;FILTER(&lt;BR /&gt;Subscriptions,&lt;BR /&gt;Subscriptions[CANCELATION_DATE] &amp;gt;= STARTOFMONTH(DateTable[Date]) &amp;amp;&amp;amp;&lt;BR /&gt;Subscriptions[CANCELATION_DATE] &amp;lt; ENDOFMONTH(DateTable[Date])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And make sure you have date table&lt;/P&gt;
&lt;P&gt;Ensure that your Subscriptions table is related to the DateTable on the appropriate date fields (e.g., SUBSCRIPTION_START_DATE and CANCELATION_DATE).&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 11:47:39 GMT</pubDate>
    <dc:creator>bhanu_gautam</dc:creator>
    <dc:date>2024-08-08T11:47:39Z</dc:date>
    <item>
      <title>Active subscriptions and New active subscriptions Dax measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-subscriptions-and-New-active-subscriptions-Dax-measures/m-p/4089114#M162287</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;Based on the columns given below&lt;BR /&gt;I need to calculate total Active subscriptions , total New active subscriptions, total new usubscribed subscriptions&amp;nbsp;&lt;BR /&gt;Can anyone help me ?&lt;/P&gt;&lt;P&gt;Active subsctions is easy to calculate but I am not able to create measure for New active subscriptions.&lt;BR /&gt;Need to show them in line chart&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total new subs = subs created on that months&lt;BR /&gt;total new unscibeds = those who canceled&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Could you please assist on this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SUBSCRIPTION_ID&amp;nbsp;&lt;BR /&gt;TIER&lt;/P&gt;&lt;P&gt;PRODUCTS_QTY&lt;/P&gt;&lt;P&gt;SUBSCRIPTION_STATUS&lt;/P&gt;&lt;P&gt;SUBSCRIPTION_EMAIL&lt;/P&gt;&lt;P&gt;SUBSCRIPTION_PAYMENT_METHOD&lt;/P&gt;&lt;P&gt;SUBSCRIPTION_INTERVAL&lt;/P&gt;&lt;P&gt;SUBSCRIPTION_START_DATE&lt;/P&gt;&lt;P&gt;CANCELATION_DATE&lt;/P&gt;&lt;P&gt;PAUSED_DATE&lt;/P&gt;&lt;P&gt;ACTIVE_FROM_PAUSED_DATE&lt;BR /&gt;&lt;BR /&gt;I want somehhat lik this&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 11:12:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-subscriptions-and-New-active-subscriptions-Dax-measures/m-p/4089114#M162287</guid>
      <dc:creator>Rohit17</dc:creator>
      <dc:date>2024-08-08T11:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Active subscriptions and New active subscriptions Dax measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-subscriptions-and-New-active-subscriptions-Dax-measures/m-p/4089134#M162288</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="674605" data-lia-user-login="Rohit17" class="lia-mention lia-mention-user"&gt;Rohit17&lt;/a&gt;&amp;nbsp;, You can create a new measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Total Active Subscriptions &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(Subscriptions),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Subscriptions[SUBSCRIPTION_STATUS] &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"Active"&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;And one more Total Active Subscription in a month&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Total New Active Subscriptions = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(Subscriptions),&lt;BR /&gt;FILTER(&lt;BR /&gt;Subscriptions,&lt;BR /&gt;Subscriptions[SUBSCRIPTION_START_DATE] &amp;gt;= STARTOFMONTH(TODAY()) &amp;amp;&amp;amp;&lt;BR /&gt;Subscriptions[SUBSCRIPTION_START_DATE] &amp;lt; ENDOFMONTH(TODAY())&lt;BR /&gt;)&lt;BR /&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;This measure will count the number of subscriptions that were canceled in the current month.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Total New Unsubscribed Subscriptions = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(Subscriptions),&lt;BR /&gt;FILTER(&lt;BR /&gt;Subscriptions,&lt;BR /&gt;Subscriptions[CANCELATION_DATE] &amp;gt;= STARTOFMONTH(TODAY()) &amp;amp;&amp;amp;&lt;BR /&gt;Subscriptions[CANCELATION_DATE] &amp;lt; ENDOFMONTH(TODAY())&lt;BR /&gt;)&lt;BR /&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Aug 2024 11:26:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-subscriptions-and-New-active-subscriptions-Dax-measures/m-p/4089134#M162288</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-08-08T11:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Active subscriptions and New active subscriptions Dax measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-subscriptions-and-New-active-subscriptions-Dax-measures/m-p/4089142#M162290</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for checking this&lt;BR /&gt;&lt;BR /&gt;But this is referring to current date. What about earlier month ?&lt;BR /&gt;for example I wanted to check new active subs in January and new unsubscribed subs .&amp;nbsp;&lt;BR /&gt;This won't work right ? let me know if I am thninking right or wrong&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 11:40:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-subscriptions-and-New-active-subscriptions-Dax-measures/m-p/4089142#M162290</guid>
      <dc:creator>Rohit17</dc:creator>
      <dc:date>2024-08-08T11:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Active subscriptions and New active subscriptions Dax measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-subscriptions-and-New-active-subscriptions-Dax-measures/m-p/4089150#M162291</link>
      <description>&lt;P&gt;Right, first measure will remain as it is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;update second one as&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dax&lt;BR /&gt;TotalNewActiveSubscriptions = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(Subscriptions),&lt;BR /&gt;FILTER(&lt;BR /&gt;Subscriptions,&lt;BR /&gt;Subscriptions[SUBSCRIPTION_START_DATE] &amp;gt;= STARTOFMONTH(DateTable[Date]) &amp;amp;&amp;amp;&lt;BR /&gt;Subscriptions[SUBSCRIPTION_START_DATE] &amp;lt; ENDOFMONTH(DateTable[Date])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And 3rd one as&lt;/P&gt;
&lt;P&gt;TotalNewUnsubscribedSubscriptions = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(Subscriptions),&lt;BR /&gt;FILTER(&lt;BR /&gt;Subscriptions,&lt;BR /&gt;Subscriptions[CANCELATION_DATE] &amp;gt;= STARTOFMONTH(DateTable[Date]) &amp;amp;&amp;amp;&lt;BR /&gt;Subscriptions[CANCELATION_DATE] &amp;lt; ENDOFMONTH(DateTable[Date])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And make sure you have date table&lt;/P&gt;
&lt;P&gt;Ensure that your Subscriptions table is related to the DateTable on the appropriate date fields (e.g., SUBSCRIPTION_START_DATE and CANCELATION_DATE).&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 11:47:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-subscriptions-and-New-active-subscriptions-Dax-measures/m-p/4089150#M162291</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-08-08T11:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Active subscriptions and New active subscriptions Dax measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-subscriptions-and-New-active-subscriptions-Dax-measures/m-p/4095299#M162520</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;, The graph is not appearing correctly when added all three measures&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 11:42:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-subscriptions-and-New-active-subscriptions-Dax-measures/m-p/4095299#M162520</guid>
      <dc:creator>Rohit17</dc:creator>
      <dc:date>2024-08-12T11:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Active subscriptions and New active subscriptions Dax measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-subscriptions-and-New-active-subscriptions-Dax-measures/m-p/4095310#M162521</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp; - created these measures and added to chart however this is not givving me the result like i attached in the problem&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 11:48:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Active-subscriptions-and-New-active-subscriptions-Dax-measures/m-p/4095310#M162521</guid>
      <dc:creator>Rohit17</dc:creator>
      <dc:date>2024-08-12T11:48:02Z</dc:date>
    </item>
  </channel>
</rss>

