Vitamin D deficiency causes infertility

My husband and I have been ttc for about a year. We've completed months of BBT charts, 2 hysterosalpingograms, polyp removals and more. Still unable to conceive we decided to see a reproductive endocrinologist. His tests prove that my vitamin D levels are so low and have been the cause of my infertility. I'm now taking an 8 week course of a prescribed vitamin D and am excited to ttc this upcoming month