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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Calculate Daily average last 30 days, last 7 days

Hi All,

 

I have the a data set that looks like this, which contain roughly 200k rows and I'm trying to calculate the following:

We receive daily new member (and they are represented by member_id) and I'm trying to calculate the average of member for each bullet point mentioned.

  • Daily average last 30 days of members_ID
  • Weekly average last 7 days of members_ID
  • Monthly average last 6 months of members_ID
Member_IDRegistration_DateZip_CodeAge
1010XHJT4/12/20208574325
1011HRFO4/12/20207220932
1213WEKO4/13/20207410445
1456LKPW4/13/20206014062
6548ZGTU4/2/20206524872
15486UTXA4/6/20206524533

 

Any helps would be appreciated

3 REPLIES 3
lbendlin
Super User
Super User

Average of what? Age? Number of visits?

Anonymous
Not applicable

@lbendlin I'm trying to calculate the average of Member_ID(which are new people that are registraring evey day)

we're still missing one piece of information. Average by what?  Sliding window of 7/30/90 days by each day in your calendar, by each monday on your calendar, or something else? Basically - what is the end date for your sliding windows?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.