public function setDimension($dimensionName, $dimensionValue = null)
    {
        $this->pipeline['$match']['name'] = $dimensionName;

        if (!empty($dimensionValue)) {
            $this->pipeline['$match']['value'] = $dimensionValue;
        }

        return $this;
    }