Complete the code to remove extra spaces from the text column.
CleanText = TRIM([1])The TRIM function removes extra spaces from text. You must apply it to a text column.
Complete the code to remove non-printable characters from the text.
CleanText = CLEAN([1])The CLEAN function removes non-printable characters from text columns.
Fix the error in the code to trim and clean the text column.
CleanText = TRIM(CLEAN([1]))Both TRIM and CLEAN require a text column as input. Using a non-text column causes errors.
Fill both blanks to create a new column that trims and cleans the 'CustomerName' column.
CleanName = [1]([2](Table[CustomerName]))
The correct order is TRIM outside CLEAN to first remove non-printable characters, then trim spaces.
Fill all three blanks to create a measure that trims, cleans, and converts the 'ProductCode' column to uppercase.
CleanCode = [1]([2]([3](Table[ProductCode])))
First CLEAN removes non-printable characters, then TRIM removes spaces, finally UPPER converts text to uppercase.