A shop will be able to give you an estimate after they diagnosed the complete A/C system.
It may involves computer diagnostic and adding refrigerant to the system.
There could be quite few problems which could disable the A/C. I suggest to find a good BMW specialty shop.
Zee
RepairPal Certified shops can diagnose and repair your 2004 BMW 745Li. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.