stbrooks13
New Member
- Joined
- Dec 9, 2014
- Messages
- 40
I have a formula in my dashboard that shows the % of hires by gender that is working properly until the dashboard is sliced by the respective gender. Please see formulas and results below. I need the results to show 0% and 100% respectively when the dashboard is sliced by gender.
Female = CALCULATE(COUNTA(Activity[Offer Accepted]),Activity[Offer Accepted]>0,Activity[Gender]="Female")/CALCULATE(COUNTA(Activity[Offer Accepted]),Activity[Offer Accepted]>0)
Male = CALCULATE(COUNTA(Activity[Offer Accepted]),Activity[Offer Accepted]>0,Activity[Gender]="Male")/CALCULATE(COUNTA(Activity[Offer Accepted]),Activity[Offer Accepted]>0)
Overall Results (accurate)
Female 51%, Male 48%, Not Specified 1%
Results when sliced by Female
Female 100% (accurate), Male 95% (inaccurate - should be 0%), Not Specified 1% (inaccurate - should be 0%)
Results when sliced by Male
Female 105% (inaccurate - should be 0%), Male 100% (accurate), Not Specified 1% (inaccurate - should be 0%)
Female = CALCULATE(COUNTA(Activity[Offer Accepted]),Activity[Offer Accepted]>0,Activity[Gender]="Female")/CALCULATE(COUNTA(Activity[Offer Accepted]),Activity[Offer Accepted]>0)
Male = CALCULATE(COUNTA(Activity[Offer Accepted]),Activity[Offer Accepted]>0,Activity[Gender]="Male")/CALCULATE(COUNTA(Activity[Offer Accepted]),Activity[Offer Accepted]>0)
Overall Results (accurate)
Female 51%, Male 48%, Not Specified 1%
Results when sliced by Female
Female 100% (accurate), Male 95% (inaccurate - should be 0%), Not Specified 1% (inaccurate - should be 0%)
Results when sliced by Male
Female 105% (inaccurate - should be 0%), Male 100% (accurate), Not Specified 1% (inaccurate - should be 0%)