Vitamin D deficiency and infertility

I just got some bloodwork back and it turns out I have low Vitamin D. I’ve been TTC for about a year with no luck. I was reading that Vitamin D deficiencies can sometimes be a factor in infertility. Just wondering if anyone here has started taking Vitamin D supplements and then was able to conceive after previously not having luck?