When using randomize transform => randomize scale, how do you have the randomized values all be above zero?
Just randomize them like you did. Then add an empty and parent all cubes to it.
Then move the empty up (z-Axis) as much as you need it.