Forum Discussion
Anonymous
8 years agoNot applicable
Dropping Letters From Text
Within this table, how can I remove the 'EMS-' portion from these company ID's? I just want the numbers:
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.
1 Reply
- Greg_DecklerCommunity Champion
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.