 This trial is conducted in Europe and the United States of America USA. The aim of this trial is to compare the efficacy and safety of NN1250 insulin degludec IDeg once daily in insulin naïve subjects with type 2 diabetes mellitus when titrated using two different self-titration algorithms dose individually adjusted in combination with metformin. 