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
cottrera
Post Prodigy
Post Prodigy

DAX Average

Hi 

 

I have a table containing the following columns

Property Ref, Build Age, Property Type and Repairs Spend.

 

 

Property RefBuild AgeProperty TypeRepairs Spend
391919-1944One Bed House£1,013
1391945-1964Three Bed House£32
2191965-1982Two Bed Flat£361
1231919-1944Three Bed House£201
114Pre 1919Two Bed House£1,638
191965-1982One Bed House£976
1791965-1982Three Bed House£1,117
24Post 2002Four Bed House£1,645
711919-1944Two Bed House£886
1361919-1944Two Bed House£1,128
82Post 2002Two Bed Flat£996
1771983-2002Two Bed House£1,482
34Post 2002Three Bed House£1,262
601945-1964One Bed Flat£123
216Post 2002One Bed Flat£100
190Post 2002Two Bed House£200
471983-2002One Bed Flat£154
1271983-2002One Bed Flat£34
1251983-2002Three Bed House£1,189
2201983-2002One Bed Flat£1,090
2101945-1964One Bed Flat£967
176Post 2002One Bed Flat£128

 

I would ike to summarise in two table visuals the following

 

Average Repairs Spend by Property Age

Average Repairs Spend by Property Type

 

Base on the data sample provided I would expect these results

Avg repair spend by build age Build AgeTotal

1919-1944£807
1945-1964£374
1965-1982£818
1983-2002£790
Post 2002£722
Pre 1919£1,638

 

and

Avg repairs spend by property type Property TypeTotal

Four Bed House£1,645
One Bed Flat£371
One Bed House£995
Three Bed House£760
Two Bed Flat£679
Two Bed House£1,067

 

 

thank you

 

Richard

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@cottrera,

 

Try this measure:

 

Average Repairs Spend = AVERAGE ( Table1[Repairs Spend] )

 

DataInsights_0-1630673431064.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
DataInsights
Super User
Super User

@cottrera,

 

Try this measure:

 

Average Repairs Spend = AVERAGE ( Table1[Repairs Spend] )

 

DataInsights_0-1630673431064.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.