Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Slicer not slicing

$
0
0

OK, this one has me scratching my head a bit. I have some Ohio school district data that my sister sent me. Schools are basically rated based upon student performance on standardized tests and such. I thought it would be interesting to calculate the Mean (Average) score for all schools, the standard deviation of their scores and then calculate each schools's number of standard deviation's from that mean. Then, I could have a slicer to break the schools down by category (rural, urban, etc.). The thought here was that I could find outliers in the data so that my sister could focus on schools that overperformed for their category and perhaps that would lead to finding out what those schools are doing differently.

 

So, everything went well up until I put a slicer on the school's category and then I got some really weird results.

 

So, here is some sample data:

 

DISTRICT

 

DISTRICT IRNDISTRICT NAMEOVERALL SCORE
442Manchester Local2.75
43489Akron City1.31
43497Alliance City1.63
43505Ashland City2.63
43513Ashtabula Area City1.94
43521Athens City2.69
43539Barberton City1.69
43547Bay Village City4.19
43554Beachwood City3.63
43562Bedford City1.69
43570Bellaire Local1.69
43588Bellefontaine City3.25
43596Bellevue City2.94
43604Belpre City2.19
43612Berea City1.94
43620Bexley City2.88
43638Bowling Green City3.25
43646Brecksville-Broadview Heights City4.19
43653Brooklyn City2.69
43661Brunswick City3.5
43679Bryan City2.94
43687Bucyrus City1.81
43695Cambridge City2.75
43703Campbell City1.75
43711Canton City1.56

 

TYPOLOGY BY DISTRICT

 

 

 

 

IRNDistrict Name2013 Typology
442Manchester Local (Adams)1
43489Akron City8
43497Alliance City7
43505Ashland City4
43513Ashtabula Area City4
43521Athens City5
43539Barberton City7
43547Bay Village City6
43554Beachwood City6
43562Bedford City7
43570Bellaire Local4
43588Bellefontaine City4
43596Bellevue City1
43604Belpre City4
43612Berea City7
43620Bexley City6
43638Bowling Green City5
43646Brecksville-Broadview Heights City6
43653Brooklyn City7
43661Brunswick City5
43679Bryan City4
43687Bucyrus City4
43695Cambridge City4
43703Campbell City7
43711Canton City8

 

 

Topologies

 

 2013 Typology Code Major Grouping
0Island
1Rural
2Rural
3Small Town
4Small Town
5Suburban
6Suburban
7Urban
8Urban

 

I built these measures (in DISTRICT):

Overall Score District Mean = AVERAGE(DISTRICT[OVERALL SCORE])

Overall Score District StdDev = STDEV.P(DISTRICT[OVERALL SCORE])

And then this custom column in DISTRICT:

OVERALL SCORE STDDEV FROM MEAN = (DISTRICT[OVERALL SCORE] - CALCULATE([Overall Score District Mean],ALL(DISTRICT))) / CALCULATE([Overall Score District StdDev],ALL(DISTRICT))

 

Here are the relationships

 

DISTRICTS.png

 

And here are some visuals, you can see I have a slicer and some tables:

 

DISTRICTS.png

 

Now for the weirdness. I click on Island and both of my two bottom tables are filtered correctly, but the table in the upper right is not!

 

DISTRICTS.png

 

Now when I click on Rural in the slicer, I get more, different weirdness...

 

DISTRICTS.png

 

I feel like I am missing something obvious but I can't seem to find it. I think it must have something to do with my measures I have to imagine. Maybe the ALL is doing something bizarre. But, in any case, this is certainly not what I would have expected... Anyone have any thoughts?

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>