data percent bar calc working