Is it tough? There are only seven fundamental units. https://en.wikipedia.org/wiki/SI_base_unit
Just represent every unit in terms of them then it's good.
One problem with the array you came up is that the units are not orthogonal, since Joules = Newtons * Meters.