Are you doing any lifestyle modifications, like watching carbs, sugars and exercise?
Medication helps, but can't do everything. When you were on the metformin, how was your diet? Did it change when you went off it?
If all other things are equal, and this is the first time you've used metformin, it is surprising that you didn't respond to it.