DAX measures are supported only when Analysis Services is in Tabular mode, or when it is defined within an Evaluate DAX statement ...