<?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 Recurring Memberships based on Unique User IDs in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Recurring-Memberships-based-on-Unique-User-IDs/m-p/2598810#M75056</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working through a problem that I cannot find an answer to across the forums yet. I am trying to come up with a way to track membership data. The problem is the way I get the data does not come with a specific column called membership. There are a multitude of membership types across a number of locations that are all classified as "Service". However, there are tons of other things classified as "Service as well. For context, I do not want to add a calculated column to identify memberships as my data updates daily and has over 1 million rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am trying to figure out is membership retention. I would like to be able to track how long a customer who purchases a membership keeps renewing. I would like the first instance of a membership purchase to be a new member, every recurring month they would be classified as a recurring member, until they cancel and will be a terminated member.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data below is a scrubbed version of what I have. The orderIDs are unique however, the UserID is not. I was thinking that a dax measure that looked back one month to see if that userID bought a membership would work but I cannot figure out how to do it. Also, for terminated members, a dax measure could look back one month, see if they bought last month but didn't this month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stumped on this one and hope someone can help. I have the scrubbed data in powerbi but am unable to upload it as I am a new member.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2022 20:29:45 GMT</pubDate>
    <dc:creator>ClaytonL</dc:creator>
    <dc:date>2022-06-23T20:29:45Z</dc:date>
    <item>
      <title>Recurring Memberships based on Unique User IDs</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Recurring-Memberships-based-on-Unique-User-IDs/m-p/2598810#M75056</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working through a problem that I cannot find an answer to across the forums yet. I am trying to come up with a way to track membership data. The problem is the way I get the data does not come with a specific column called membership. There are a multitude of membership types across a number of locations that are all classified as "Service". However, there are tons of other things classified as "Service as well. For context, I do not want to add a calculated column to identify memberships as my data updates daily and has over 1 million rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am trying to figure out is membership retention. I would like to be able to track how long a customer who purchases a membership keeps renewing. I would like the first instance of a membership purchase to be a new member, every recurring month they would be classified as a recurring member, until they cancel and will be a terminated member.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data below is a scrubbed version of what I have. The orderIDs are unique however, the UserID is not. I was thinking that a dax measure that looked back one month to see if that userID bought a membership would work but I cannot figure out how to do it. Also, for terminated members, a dax measure could look back one month, see if they bought last month but didn't this month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stumped on this one and hope someone can help. I have the scrubbed data in powerbi but am unable to upload it as I am a new member.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 20:29:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Recurring-Memberships-based-on-Unique-User-IDs/m-p/2598810#M75056</guid>
      <dc:creator>ClaytonL</dc:creator>
      <dc:date>2022-06-23T20:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Recurring Memberships based on Unique User IDs</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Recurring-Memberships-based-on-Unique-User-IDs/m-p/2600585#M75144</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="405003" data-lia-user-login="ClaytonL" class="lia-mention lia-mention-user"&gt;ClaytonL&lt;/a&gt; , You can have a column for that &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;new column =&lt;/P&gt;
&lt;P&gt;var _min =minx(filter(Table, [UserID] = earlier([USerID]), [Date])&lt;/P&gt;
&lt;P&gt;return&lt;/P&gt;
&lt;P&gt;if(datediff(_min, [Date], month) &amp;gt;0, "Retained", "New")&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 12:28:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Recurring-Memberships-based-on-Unique-User-IDs/m-p/2600585#M75144</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-06-24T12:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Recurring Memberships based on Unique User IDs</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Recurring-Memberships-based-on-Unique-User-IDs/m-p/2600884#M75161</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;,&lt;BR /&gt;Any idea why I would get an error on the earlier function? It is saying it cant find the [UserID] column. I've even tried inputting BillingReportData.[UserID] (the home for the column) but it still doesnt work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 14:46:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Recurring-Memberships-based-on-Unique-User-IDs/m-p/2600884#M75161</guid>
      <dc:creator>ClaytonL</dc:creator>
      <dc:date>2022-06-24T14:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Recurring Memberships based on Unique User IDs</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Recurring-Memberships-based-on-Unique-User-IDs/m-p/2605761#M75445</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="405003" data-lia-user-login="ClaytonL" class="lia-mention lia-mention-user"&gt;ClaytonL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;The data below is a scrubbed version of what I have. ... I was thinking that a dax measure that looked back one month to see if that userID bought a membership would work but I cannot figure out how to do it. Also, for terminated members, a dax measure could look back one month, see if they bought last month but didn't this month.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Could you provide your &lt;STRONG&gt;expected outcome&lt;/STRONG&gt; based on your sample data?&amp;nbsp;Note: Your sample data should preferably contain all the scenarios involved. For example,&lt;/P&gt;
&lt;P&gt;if Service= "Membersship", and if Date .... then measure= ....&lt;/P&gt;
&lt;P&gt;if Service= "Basic Membersship", and if Date .... then measure= ....&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;Community Support Team _Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 06:34:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Recurring-Memberships-based-on-Unique-User-IDs/m-p/2605761#M75445</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-06-28T06:34:04Z</dc:date>
    </item>
  </channel>
</rss>

