Is it possible to have two quantities with the same dimension but different units.give their examples
Yes.
Example: Work and torque.
The SI unit for energy or work is the joule. It is dimensionally equivalent to a force of one newton acting over a distance of one meter, but it is not used for torque. Energy and torque are entirely different concepts, so the practice of using different unit names (i.e., reserving newton meters for torque and using only joules for energy) helps avoid mistakes and misunderstandings.