Forum Discussion
dids86
10 months agoRegular Visitor
Removing Characters from text string with DAX
Hi, I'm trying to remove the last 10 characters from a text string using the below formula Column = LEFT('Table1'[Text],LEN('Table1'[Text])-10) I'm getting the below error message An...
- 10 months ago
Hi, would amending the measure this way fix the issue? It returns a blank if the formula encounters an error, e.g., due to a null or short string.
Column =IFERROR(LEFT('Table'[Text], LEN('Table'[Text]) - 10),BLANK())
MasonMA
10 months agoSuper User
Hi, would amending the measure this way fix the issue? It returns a blank if the formula encounters an error, e.g., due to a null or short string.
Column =
IFERROR(
LEFT('Table'[Text], LEN('Table'[Text]) - 10),
BLANK()
)