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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Creating an average per week table

Hi All,

 

I have a data set that looks something like this:

DateResult
16/11/20205
18/11/20207
18/11/20202
19/11/20208
22/11/20201
24/11/20209
27/11/20204
28/11/20203

 

I would like to generate a new table so that one column is the week start date (Monday) and the other is the average result of that particular week (Mon-Sun).

So if you were to take the above as an example, I should have something like this:

Week Start DateAverage Result of Week
16/11/20204.6
23/11/20205.3

 

Any help would be fully appreciated. Thanks.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous ,Create a new column like

Week Start date = 'Table'[Date]+-1*WEEKDAY('Table'[Date],2)+1

 

Now you can use thismeasure in the visual

measure = Average('Table'[Result])

 

or create a table like

new table = summarize('Table','Table'[Week Start date] ,"Avg", Average('Table'[Result]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous ,Create a new column like

Week Start date = 'Table'[Date]+-1*WEEKDAY('Table'[Date],2)+1

 

Now you can use thismeasure in the visual

measure = Average('Table'[Result])

 

or create a table like

new table = summarize('Table','Table'[Week Start date] ,"Avg", Average('Table'[Result]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors