Normalize sample values in database