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
soggy_weetbix
New Member

Cumulative of Current Members at a given date

I have a list of members, I want to make an area chart or even a table, to show how overtime members come and go.

 

Here is an example list of data to use:

 

Member_IDStartEnd
ID11-Mar-2330-Jun-23
ID21-Apr-2331-Jul-23
ID31-Apr-2331-Jul-23
ID41-Apr-2331-Jul-23
ID51-Apr-2331-Jul-23
ID61-Apr-2331-Aug-23
ID71-May-2330-Nov-23
ID81-Jun-2330-Nov-23
ID91-Aug-2330-Nov-23

 

The end result should be something like this, in months but I'd also like to also see one for days:

 

Jan0
Feb0
Mar1
April6
May7
Jun8
Jul7
Aug4
Sep3
Oct3
Nov3
Dec0

 

I've spent hours trying to work this out using DAX and new columns, but can't seem to figure out what I am doing wrong.

 

Any help would be greatly appreciated.

 

Thanks

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file.

 

Jihwan_Kim_1-1724310757366.png

 

 

Jihwan_Kim_0-1724310736790.png

 

 

expected result measure: = 
COUNTROWS (
    FILTER (
        'Member',
        'Member'[End] >= MIN ( 'Calendar'[Date] )
            && 'Member'[Start] <= MAX ( 'Calendar'[Date] )
    )
) + 0

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

4 REPLIES 4
ThxAlot
Super User
Super User

ThxAlot_0-1724311102192.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



Thanks

Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file.

 

Jihwan_Kim_1-1724310757366.png

 

 

Jihwan_Kim_0-1724310736790.png

 

 

expected result measure: = 
COUNTROWS (
    FILTER (
        'Member',
        'Member'[End] >= MIN ( 'Calendar'[Date] )
            && 'Member'[Start] <= MAX ( 'Calendar'[Date] )
    )
) + 0

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Thanks - this one works best!

 

I think my problem was I was creating a relationship with start date, but it wasn't needed.

 

Thanks so much 🙂

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