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

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

Reply
shrock777
Helper I
Helper I

Total Average

Hello All,

 

Below is the sample data. I am trying to calculate average of Days by Section and drill through by Month.

I can get the average for a, c, e but not for ab. 

ab = a+c+e

I want a,c,e and ab Average of Days by Section drill through month.

Thanks in advance

 

sample.PNG

 

ID Days Section Month
1   10       a        January
2   15       a        February
3   20       c        March
4   25       c        April
5   30       e        May
6   35       e        June

3 REPLIES 3
Aree
Resolver I
Resolver I

Hey @shrock777 

 

This is what i came up with based on your request.

averagebysection.PNG

If this is what you are after then this is how i did it.

Create a new table using the summarize syntax

SectionAverage = SUMMARIZE(SampleSection, SampleSection[Section], "Average", AVERAGE(SampleSection[Days]))

Then is ensure that the relationship was built between the two tables (note the cross filter direction is both).

averagerelationship.PNG 

 

When i built the chart my line value is Average Of Average

averageofaverage.PNG

 

Hope this helps mate.

Hey Aree,

 

Thanks for the effort but i need average of ab(ab=a+c+e) in the bar chart.

 

 

Thanks

Hey @shrock777 

if you mean the average of each section all added together then within the SectionAverage table just create this measure.

TotalAverage = SUMx(ALL(SectionAverage), SectionAverage[Average]) 

If this is not what you meant please explain.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.