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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Suraj_Kendre
Contributor II
Contributor II

Unwanted data remove

Hello,

I have CSV file data. In the data, I want to remove all [[ ]].

Please help with it.

Suraj_Kendre_0-1715941020460.png

 

Labels (1)
1 Solution

Accepted Solutions
igoralcantara
Partner Ambassador/MVP
Partner Ambassador/MVP

In the load script, for each field you're loading, use one of these options:

 

Option 1: If all rows have the [[]]:

TextBetween(Mach, '[[', ']]') As Mach

 

Option 2:

Replace(Replace(Mach, '[[', ''), ']]', '') as Mach

 

Just adapt to your load script and to each field and you're good.

Check out my latest posts at datavoyagers.net

View solution in original post

2 Replies
igoralcantara
Partner Ambassador/MVP
Partner Ambassador/MVP

In the load script, for each field you're loading, use one of these options:

 

Option 1: If all rows have the [[]]:

TextBetween(Mach, '[[', ']]') As Mach

 

Option 2:

Replace(Replace(Mach, '[[', ''), ']]', '') as Mach

 

Just adapt to your load script and to each field and you're good.

Check out my latest posts at datavoyagers.net
BrunPierre
Partner - Master II
Partner - Master II

Use PurgeChar() like

=PurgeChar(Mach, '[[]]')