You can clean input data in Microsoft Power BI using Power Query. It has an incredible amount of features that are dedicated to helping you clean and prepare your data for analysis. 

You can simplify a complicated model, change data types, rename objects, and pivot data. You can also use functions like Trim under Transform > Format in the Power Query Editor to remove spaces from the beginning and end of text values.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence