Forum Discussion
Sean
Community Champion
9 years agoALL Function - Mystery?
Hello ALL, I'm encountering a problem/issue with this simple formula. The problem must be with my data but I can't seem to figure out where? So here's the Measure => County Total County Total = C...
parry2k
Super User
9 years agoIsn't the County Total measure suppose to be having sum function or it is just a typo
County Total = CALCULATE ( SUM([Total Net]), ALL(Payments[Subcategory], Payments[Category]) )
- parry2k9 years ago
Super User
Also can you try which is very less likely the issue but would be good to try.
County Total = CALCULATE ( SUM([Total Net]), ALL(Payments))
- Sean9 years ago
Community Champion
Hey thanks for replying.
1) Total Net is a already a Measure = SUM ( Payments[Net] ) I had listed it under the County Total Measure above
2) ALL(Payments) gives the Overall Total Net for all Counties
- parry2k9 years ago
Super User
You are right, you need total by county regardless what category/sub category it is. Not sure why this will work on sample data and not on real data.
I was referring to your "County Total" which missing SUM function, I'm sure that was typo.