How a dimensionless quantity may have units?
A dimensionless quantity may have a unit. So a dimensionless quantity will always be independent of the base units — meter, second, kilograms, kelvin, candela, moles, ampere. But there are other quantities that are dimensionless but have a unit. For example, radian is the unit for an angle.