Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
My Data is as follows, with data going back to the start of the year
| Week | Week Start Date | Name | Emails Sent |
| 38 | 14/09/20 | Person 1 | 150 |
| 38 | 14/09/20 | Person 2 | 256 |
| 38 | 14/09/20 | Person 3 | 189 |
| 37 | 07/09/20 | Person 1 | 354 |
| 37 | 07/09/20 | Person 2 | 156 |
| 37 | 07/09/20 | Person 3 | 345 |
And I'm looking to create another column of the average emails sent per week, so it would look like the below:
| Week | Week Start Date | Name | Emails Sent | Emails Sent (Weekly Average) |
| 38 | 14/09/20 | Person 1 | 150 | 198 |
| 38 | 14/09/20 | Person 2 | 256 | 198 |
| 38 | 14/09/20 | Person 3 | 189 | 198 |
| 37 | 07/09/20 | Person 1 | 354 | 285 |
| 37 | 07/09/20 | Person 2 | 156 | 285 |
| 37 | 07/09/20 | Person 3 | 345 | 285 |
So my question is, how do I create a column which can do this?
Solved! Go to Solution.
@morgancampbell , Please try a new column like
Averagex(filter(Table,[Week Start Date] =earlier([Week Start Date])),[Emails Sent])
@morgancampbell , Please try a new column like
Averagex(filter(Table,[Week Start Date] =earlier([Week Start Date])),[Emails Sent])
Ah it worked!!
That's brilliant, thank you
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 40 | |
| 39 | |
| 31 | |
| 21 | |
| 14 |
| User | Count |
|---|---|
| 67 | |
| 58 | |
| 29 | |
| 27 | |
| 25 |