Today I got an IV Drip for glucose. After that I was given juice to drink. I did not drink the juice. Is my fast valid?
Yes, your fast is valid. Injection (both muscular or intravenous) as well as a glucose drip do not invalidate the fast.
However, after regaining consciousness, if you had drunk the juice before iftar time thinking that your fast has broken, then your fast would invalidate with that juice, and not the drip. It is for these reasons that knowing these matters of deen is extremely important.