separate_measures function

Separate measures in flat tables