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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
SSGUY
Frequent Visitor

Averaging Column by day, and then Summing those averages for the week

Trying to average a column for each day, but there are multiple rows for each date. I then need to sum these averages for the week based off a label. The label is "Winter Week 1", which continues through week 8.

 

I need to show on a graph the weekly sum on the Y axis, and the Week Name and Number on the X-Axis, basically with 8 numbers.

 

Attached is an example of my table

 

Capture.PNG

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @SSGUY 
Please try

=
SUMX (
    VALUES ( 'Table'[Date] ),
    CALCULATE (
        AVERAGE ( 'Table'[Value] )
    )
)

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @SSGUY 
Please try

=
SUMX (
    VALUES ( 'Table'[Date] ),
    CALCULATE (
        AVERAGE ( 'Table'[Value] )
    )
)
SSGUY
Frequent Visitor

Yes! Thanks you!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.