Python Define Global Variable In Function In Dax