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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Wresen
Post Patron
Post Patron

Calculate with sum of items

Hi and thx for reading this.

I have a table below and i want to make a Measure that calculates the SUM of each Item divided by the count if The item and show it on Month.

ex.

Item A sum = 25 , it is 2 items, 25 /2 = 12,5

Item B sum = 40, it is 3 items, 40 /3  =13,3

item C Sum = 45, it is 2 items, 45/2 =22,5

 

The mesure should show.

202310  25,8

202311  22,5

 

Item.PNG

 

/Thanks for any help.

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@Wresen 

Use this measrue:

MaeasureName = 
SUMX(
	ADDCOLUMNS(
		SUMMARIZE( table , table[month] , talble[item] ),
		"Avg" , 
			CALCULATE( AVERAGE( table[value ) )
	),
	[Avg]
)
Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

2 REPLIES 2
Fowmy
Super User
Super User

@Wresen 

Use this measrue:

MaeasureName = 
SUMX(
	ADDCOLUMNS(
		SUMMARIZE( table , table[month] , talble[item] ),
		"Avg" , 
			CALCULATE( AVERAGE( table[value ) )
	),
	[Avg]
)
Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

@Fowmy 
Thanks so much for the help 🙂

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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