stbrooks13
New Member
- Joined
- Dec 9, 2014
- Messages
- 40
I'm in campus recruiting and we have divided our target schools into three levels (National, Regional, Local).
I'm creating scores for our target schools based on how they compare to the school level's average.
I'm able to create the formulas in a table view using ALLSELECTED(Schools(School)) in my calculations. But, as soon as a single school is selected, the formulas all show 100%.
How do I keep the School(School Level) in the formulas? Below is an example of one of the school level formulas that I'm comparing the school's actual to:
School Level Sign-On Bonus Average = CALCULATE(SUM(Activity[Sign-On Bonuses]),ALLSELECTED(School[School]))/CALCULATE(DISTINCTCOUNT(School[School]),ALLSELECTED(School[School]))
I'm creating scores for our target schools based on how they compare to the school level's average.
I'm able to create the formulas in a table view using ALLSELECTED(Schools(School)) in my calculations. But, as soon as a single school is selected, the formulas all show 100%.
How do I keep the School(School Level) in the formulas? Below is an example of one of the school level formulas that I'm comparing the school's actual to:
School Level Sign-On Bonus Average = CALCULATE(SUM(Activity[Sign-On Bonuses]),ALLSELECTED(School[School]))/CALCULATE(DISTINCTCOUNT(School[School]),ALLSELECTED(School[School]))