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! Request now

Reply
SSGUY
Frequent Visitor

Need Help with Averaging of Days and Summing of Weeks

Hey everyone. Having a lot of trouble with this issue, but relativley new to Power BI, so just looking for some help.

Just a few things I need to figure out:

 

1. I need to find the average of each day for a certain metric, but i have multiple rows of data for each day.

2. Once I have the averages for each day, i need to sum the averages for the week. The weeks are labeled in a different column, for example something like "Winter Week 1"

 

So basically i need all days averaged within the "Winter Week 1" and then I need to sum each average within those dates. 

 

Would love any help I can get here!

 

Thanks

 

Date                    Week Name and Number       Metric     

1-12-2023           Winter Week 1                        1000         

1-12-2023           Winter Week 1                        2000         

1-12-2023           Winter Week 1                        3000         

1-12-2023           Winter Week 1                        4000         

1-12-2023           Winter Week 1                        5000         

1-13-2023           Winter Week 1                        1000         

1-13-2023           Winter Week 1                        1000         

1-13-2023           Winter Week 1                        1000         

1-13-2023           Winter Week 1                        1000

1-13-2023           Winter Week 1                        1000

1 REPLY 1
jewel_at
Resolver I
Resolver I

Hi @SSGUY 

 

You can try to create a new Dax table

Table 2 = 
SUMMARIZE('Table','Table'[Date],'Table'[Week],"Average", AVERAGE('Table'[Metric]))

 

To get the average per day, when using the Average column, select "Don't Summarize"

jewel_at_1-1674010938023.png

 

When you want to get the sum of the Average, then when you use the "Average" Column, select Sum. Make sure you add Week in your visual, so it aggregates by Week.

 

jewel_at_3-1674011090115.png

 

Hope that helps!

Jewel

 

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.