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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors