This was still while I was under warranty but I believe the shifter cost was $2xx.00 plus an hour labor. It is a diy'able job as its just r&r and clear code
But yours is a pre lci so check before replace.
2011 X5 35i Sport
2007 E92 335i