Python Tableau Error All Fields Must Be Aggregate Or Constant When

Python Tableau Error All Fields Must Be Aggregate Or Constant When