Hi Lamine,
Thank you for clarifying your issue. To my understanding, if the data connection will only return one value (meaning only one choice for the drop down list), you would like to set that as the default value, is that correct?, If so, then you would need to add a rule that sets the drop down list to the specific value returned using the condition Number of occurrences = 1. Please check the Form Load rules of the sample form I am attaching (download the form, right click and open in designer), which sets the drop down value if there is only one value available from the repeating data. Hope this makes sense.