To learn Dimension Slash, you need to raise your sword skill all the way to the 20th level. Progress slows down considerably after around level 10, so it takes patience.
A handy shortcut is to equip "Armorsmaster" type innocents on your weapon. These boost the rate at which your weapon skill grows, helping you reach that 20th level faster.