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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Remove characters between brackets in a string

Hi

I want to remove characters from field  that appear in brackets.

Product_A-(01)

Product_A-(02)

Product_A_Blue-(01)

Product_A_Blue-(02)


Should appear as;


Product_A-

Product_A_Blue-

Can anyone help with this?


Thanks

Danny

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

=Left(Product, Index(Product, '(')-1)

View solution in original post

3 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

=Left(Product, Index(Product, '(')-1)

Anonymous
Not applicable
Author

PurgeChar(FieldName, '1234567890( )') as FieldName

Not applicable
Author

Perfect! Thanks!