An arrangement for analyzing milk is provided in a milking system comprising at least one milking station (la, lb, lc) adapted to identify an animal in the milkin station automatically and to milk the animal automatically. The arrangement comprises a milk constituent analyzing unit (5) capable of analyzing milk from the milking station with respect to the specific constituent and a control device (9) communicatively connected to the milking station and to the milk constituent analyzing unit. The control device is arranged to retrieve an analyzing appropriateness parameter for each of the animals milked by the milking station indicating an appropriateness of analyzing milk from the animal with respect to a specific constituent and arranged to control the milk constituent analyzing unit (5} to selectively analyze milk from the milking station only when (i) the analyzing appropriateness parameter for the animal milked by the milking station exceeds a threshold value and/or (ii) the time lapsed since the milk constituent analyzing unit last analyzed milk exceeds a threshold time period.