cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Pascal_KTeam
Helper III
Helper III

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
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors