Forum Discussion

jsabo's avatar
jsabo
Helper I
9 years ago
Solved

Help with DAX to Trim

Hello,   I am trying to trim 4 characters off the back of a field. For instance, the field might contain "HOUSTON, TX (42H)" and I would like to have a custom column which will contain only "HOUSTO...
  • Anonymous's avatar
    Anonymous
    9 years ago

    Your parens just aren't lined up right.

    Trimmed Work Loc = left('All Current Employees'[Work Location],LEN('All Current Employees'[Work Location])-5)