Hi Scotty my dads 2017 BMW 330i with the 2.0 inline 4 Turbo with the x drive AWD. Is having electrical problem. Cuz if we leave it alone for a few days to a week then the battery goes dead. And then when you try to start it and even when it's running and driving it. The electrical system starts to go crazy on it. So any idea what could me making it doing that?

take it back to the dealer, it's under warranty. Those things are electronic nightmares and only a BMW pro could figure that one out.