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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Stabbathehut
Frequent Visitor

How to show Member count over a period of time

 

Hi All, 

 

I am struggling to understand how I have made this so difficult. I am trying to show by year, month and week how many members are joining in a certain community but am just getting various errors. The attempt is to make a cumulative frequency scatter graph that then forecasts how long it will take to reach 10k members. Any help would be greatly appreciated 🙂 Capture.PNGCapture1.PNG

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Stabbathehut ,

You can try to use the following dax formulas if they suitable for your requirement.

Calculated table calendar:

Calendar = CALENDAR(MIN('Table'[Date]),MAX('Table'[Date]))

Measures:

Rolling total =
CALCULATE (
    SUM ( 'Table'[Amount] ),
    FILTER ( ALLSELECTED ( 'Table' ), [Date] <= MAX ( 'Calendar'[Date] ) ),
    VALUES ( 'Table'[Week] )
)

Rolling total Over 10k Duartion(days) =
VAR temp =
    SUMMARIZE ( 'Calendar', 'Calendar'[Date], "Total", [Rolling total] )
VAR exceed =
    MINX ( FILTER ( temp, [Total] >= 10000 ), [Date] )
RETURN
    DATEDIFF ( MIN ( 'Calendar'[Date] ), exceed, DAY )

17.png

Regards,

Xiaoxin Sheng

View solution in original post

Ashish_Mathur
Super User
Super User

Hi,

Build a Calendar table by going to Data > Modelling > New Table and writing this measure

Calendar = CALENDAR(MIN(Data[Date]),MAX(Data[Date]))

Create a relationship from the Date column of the Data Table to the Date column of the Calendar Table.  In the Calendar Table, extract the Year and Month by using the following calculated column formulas

Year = YEAR(Calendar[Date])

Month = FORMAT(Calendar[Date],"mmmm")

To your visual, drag any date dimension (Day/Month/Year) only from the Calendar Table.  Write these measures

New members = SUM(Data[New Members per week])

Members till date = CALCULATE([New members],DATESBETWEEN(Calendar[Date],MINX(ALL(Calendar),Calendar[Date]),MAX(Calendar[Date])))

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Build a Calendar table by going to Data > Modelling > New Table and writing this measure

Calendar = CALENDAR(MIN(Data[Date]),MAX(Data[Date]))

Create a relationship from the Date column of the Data Table to the Date column of the Calendar Table.  In the Calendar Table, extract the Year and Month by using the following calculated column formulas

Year = YEAR(Calendar[Date])

Month = FORMAT(Calendar[Date],"mmmm")

To your visual, drag any date dimension (Day/Month/Year) only from the Calendar Table.  Write these measures

New members = SUM(Data[New Members per week])

Members till date = CALCULATE([New members],DATESBETWEEN(Calendar[Date],MINX(ALL(Calendar),Calendar[Date]),MAX(Calendar[Date])))

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @Stabbathehut ,

You can try to use the following dax formulas if they suitable for your requirement.

Calculated table calendar:

Calendar = CALENDAR(MIN('Table'[Date]),MAX('Table'[Date]))

Measures:

Rolling total =
CALCULATE (
    SUM ( 'Table'[Amount] ),
    FILTER ( ALLSELECTED ( 'Table' ), [Date] <= MAX ( 'Calendar'[Date] ) ),
    VALUES ( 'Table'[Week] )
)

Rolling total Over 10k Duartion(days) =
VAR temp =
    SUMMARIZE ( 'Calendar', 'Calendar'[Date], "Total", [Rolling total] )
VAR exceed =
    MINX ( FILTER ( temp, [Total] >= 10000 ), [Date] )
RETURN
    DATEDIFF ( MIN ( 'Calendar'[Date] ), exceed, DAY )

17.png

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors