If your text data is misaligned due to leading or trailing spaces, the TRIM function is your go-to tool in DAX. It removes extra whitespace that can cause sorting issues, mismatches, or visual clutter in reports. In this video, Justin shows you when to use TRIM, how to integrate it into calculated columns, and why it’s a must-have for data cleaning in Power BI—especially when working with imported spreadsheets or user input.