fix if for measures in drillthrough dialog