Here the units do not cancel-we have units of M.Different reactions give different units for K,which is very confusing.To avoid this,we introduce the concept of activity,a unitless quantity that can be used in place of concentration or pressure.Since activities are unitless,they eliminate the units of all the quantities in the equilibrium constant expression,making the constant itself unitless all the time.