cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Pascal_KTeam
Resolver I
Resolver I

Number of members per month when there are monthly and yearly subscriptions

Hi all

 

Let’s assume there are 3 tables in my model

 

  1. Members (contains all sorts of details about the members, the data is generated when a member signs up) – Columns A-C
  2. Sales (contains sales data from the accounting system) – Columns E-H
  3. Calendar – Columns K-L

 

There’s a relationship from member number in members table to member number in the sales table

There’s also a relationship between the calendar table and the sales table

 

I’d like to have a visual which shows the YTD turnover and the development of the number of members. I can easily calculate the YTD Turnover (see column P). But how do I get the YTD number of members into the visual? I don’t know how to create the measure in order to get the numbers in the orange cells (O4-O10)

 

If I only had monthly subscriptions I could simply count rows. But a yearly subscription paid on a specific date means I have a member for the following 12 months and I don’t know how to deal with that.

 

I'm excited to see your inputs

 

2020-01-22_17h48_51.png

1 ACCEPTED SOLUTION
amitchandak
Super User IV
Super User IV

Create another column subscription end sales using dateadd. add 1 for monthly and add 12 for yearly.

Now refer to this blog, how to deal with range : HR-Analytics-Active-Employee-Hire-and-Termination-trend

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
amitchandak
Super User IV
Super User IV

Create another column subscription end sales using dateadd. add 1 for monthly and add 12 for yearly.

Now refer to this blog, how to deal with range : HR-Analytics-Active-Employee-Hire-and-Termination-trend

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors