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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
dfsadvantage
Frequent Visitor

Measure to Sum all values by another value and ignore all filters

Looking for assitance in aggregating vales by team and populate that aggregated value for each row where team = that players team.

 

I have been trying to create measure as follows:

dax.png

1 ACCEPTED SOLUTION

The earlier proposed solution was close.

The duplication probably happened if they faced the same team more than once in the season.

 

You need a calculated column:

TeamRuAtt = CALCULATE(SUM(RuAtt); ALLEXCEPT(Table, Team, Week))

View solution in original post

5 REPLIES 5
camargos88
Community Champion
Community Champion

Hi @dfsadvantage ,

 

Try something like:

 

CALCULATE(SUM(RuAtt); ALLEXCEPT(Table, Team, Opp))

 

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



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

Proud to be a Super User!



Didnt work for me, showed multiple rows of the same player...Here is a better description of what I am trying to do:

1)Calculate the Total RuAtt for each Team by summing the RuAtt for each player on that team.

2)Display the Total RuAtt  for each player on the corresponding team/

Dax1.png

Anonymous
Not applicable

// If the model is correct, then such a measure is easy:

[RuAtt for Team] =
	CALCULATE(
		[RuAtt], // this should be measure
		VALUES( Teams[Team] ),
		ALL( Teams )
	)
	
// But if your model is incorrect... well,
// I can't help you, I'm afraid.

A correct model is one that follows the principles of dimensional design called "star-schema."

 

Best

D

The earlier proposed solution was close.

The duplication probably happened if they faced the same team more than once in the season.

 

You need a calculated column:

TeamRuAtt = CALCULATE(SUM(RuAtt); ALLEXCEPT(Table, Team, Week))

Thank you - Calculated Column was the solution. I appreciate your help..!

 

@winsterpop 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.