Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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.
Member_ID | Registration_Date | Zip_Code | Age |
1010XHJT | 4/12/2020 | 85743 | 25 |
1011HRFO | 4/12/2020 | 72209 | 32 |
1213WEKO | 4/13/2020 | 74104 | 45 |
1456LKPW | 4/13/2020 | 60140 | 62 |
6548ZGTU | 4/2/2020 | 65248 | 72 |
15486UTXA | 4/6/2020 | 65245 | 33 |
Any helps would be appreciated
Average of what? Age? Number of visits?
@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?
User | Count |
---|---|
15 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
30 | |
18 | |
11 | |
7 | |
5 |