Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Dropping Letters From Text

Within this table, how can I remove the 'EMS-' portion from these company ID's? I just want the numbers:
  • Greg_Deckler's avatar
    8 years ago

    Anonymous- Use this formula:

     

    New Company ID = SUBSTITUTE([CompanyID],"EMS-","",)

    This is the DAX method. You could also do this in Query Editor by clicking the arrow for the column and "Replace Values". As long as you do not choose "Match entire contents of cell" then it will replace your partial cell text.