By taking into account the Dzyaloshinsky-Moriya (DM) interaction under uniform magnetic field, quantum correlation behaviors measured by the measurement-induced nonlocality (MIN) and the geometric measure of discord (GMOD) in a two-qubit XY model are investigated in detail. Turning the different parameters can lead the two kinds of measurements to present different properties. For example, increasing the parameter B(uniform magnetic field), the existing region of MIN is larger than GMOD; MIN can appear the phenomenon of monotonous reduction when the parameter D(Dzyaloshinsky-Moriya interaction) is smaller than one threshold value, while GMOD cannot; MIN monotonously reduces with enhancive value of T(temperature), while GMOD initial experiences a slightly increasing and then decreases. One interesting point is that the more obvious and complicated difference between them are shown from the initial values. This property is both true for the zero temperature and the finite temperature. Through analyzing the limit case of the temperature approaching zero, the analytic solutions give the detailed reasons why have different effect on the initial values. Moreover, from the analytic solutions, we know the initial value of MIN is always larger than or equal to GMOD.