Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Removing last 7 characters

Hi

I am trying to remove last 7 characters from a string but my expression does not work , can someone take look at it

Thanks

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar

Try this:

Left(SummaryTargets.key, Len(Trim(SummaryTargets.key)) - 7)


Capture.PNG

View solution in original post

2 Replies
sunny_talwar

Usually something like this should work:

Left(FieldName, Len(FieldName) - 7))

sunny_talwar

Try this:

Left(SummaryTargets.key, Len(Trim(SummaryTargets.key)) - 7)


Capture.PNG