Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Hutchisoni
Frequent Visitor

Continuous Membership Data Help

Hi

 

I need some help to identify if someone is a continuous member. I have a membership table with the following 

Member IDOriginal Start DateStart DateEnd DateMembership Type IDMembership TypeAutorenew
11532101/03/202001/04/202230/04/2022A0002Joint MembershipNo
11532101/05/202201/05/202231/05/2022A0001Single MembershipYes
11532301/02/202101/05/202231/05/2022A0001Single MembershipYes
11532501/05/202201/05/202231/05/2022A0001

Single Membership

No

11532601/01/202101/04/202230/04/2022A0001

Single Membership

No

 

Data set is for May 2022.

 

With the table above I want to show the following:

who is a new member based on the Original Start date.

How is currently active each month. The start & end date changes to the current month if they are still active. Autorenew indicates if it will change the following month,

Who has left based on the end date being an old date.

Who has just changed subscription - so not really new and not really a leaver.

 

I can work out current members but struggling to find out true new members and true leavers. Basically I cant work out how to ignore membership changes(or highlight these).

 

Any help would be appreciated. I have a date table also with dates, months, years etc.

 

9 REPLIES 9
WinterMist
Impactful Individual
Impactful Individual

Ah, ok.  Well perhaps I can get you past the next step.

- You need multiple relationships between the 2 tables.

- Only 1 relationship can be active at a time.  (Power BI requirement)

- The other relationship will be inactive.

- By default, the active relationship will be used.

- However, within a measure, USERELATIONSHIP can temporarily activate an inactive relationship.

- In the screenshot below,

   - the solid line represents the default active relationship.

   - the dotted line represents the default inactive relationship; which can only be made active within a measure which uses the USERELATIONSHIP function.

 

WinterMist_0-1655919383761.png

Hopefully this helps you get over the next hurdle.

 

Regards,

Nathan

 

Dind't know that one - very handy - ok will give that a try now.

WinterMist
Impactful Individual
Impactful Individual

@Hutchisoni 

 

So I noticed the 'Date' table is not connected within the model.

There is no relationship tying it back to the 'SUBSCRIPTIONS' table (or any other table).

 

My understanding is that a relationship must exist.

But now I am confused how your [Members] measure is working, since it compares dates in the 'SUBSCRIPTIONS' table with dates in the 'Date' table.

Based on my limited experience, this should not be possible.

 

WinterMist_2-1655908176801.png

 

WinterMist_1-1655907823182.png

 

My apologies.  I have never seen this before.

Perhaps someone with more expertise can assist here.

 

Regards,

Nathan

Yes The reason I dont have a relationship is because my date in the date field needs to work with the Original start date but also the end date - so didnt know how to relate both dates to the same date field. Therefore left it unrelated and it seems to work using the member measure I created.

WinterMist
Impactful Individual
Impactful Individual

Thanks very much.  Will look into this.

WinterMist
Impactful Individual
Impactful Individual

@Hutchisoni 

 

I realize you are going off of dates, rather than Sales, so the post I shared may not be very helpful.  If it's possible to share a link to the PBIX, that would be great.

 

Regards,

Nathan

Hutchisoni
Frequent Visitor

 Thanks @WinterMist I will take a look.

WinterMist
Impactful Individual
Impactful Individual

Hello @Hutchisoni 

 

I believe the following post by @amitchandak would be helpful to you.

 

https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/b...

 

Regards,

Nathan

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors