this piece adds case logic for switching the dimensions about which we are querying