Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to remove special character

Hi

My source like this

Sno,  Snd

1,["XXX","RRR \u0026 OOO"]

2,

3

4,xxx

EXPACTED O/P

we wanrt filter level give snd showing below

Snd listobject level blank is sowhing "NA" chart level it showing blank

Snd

xxx

RRR&OOO

NA

expacted o/p in chart level

Sno,Snd

1,XXX,RRR&OOO

2

3

4,XXX

How it will get

5 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

For a small number of these enitity encoded characters, you could use a mapping table and the MapSubstring command to apply the changes. Like this:

MAP_ENCODINGS:

LOAD * Inline

[

  Code, Char

  \u0026, &

];

// add more encodings per your requirements

Result:

LOAD Sno,

  Snd as Snd_ORIG,

  MapSubstring('MAP_ENCODINGS', Snd) as Snd

FROM ....

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Anil_Babu_Samineni

Probably define at least 5 Rows which is not relevant to each

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

Hi Anil,

My souece like below...

sno,snd,name

1,["A","b","c\u0026 n"],raju

2,["d","e","f"],ravi

3,,ramu

4,,Nani

I am expacted in list box level

snd

a

b

c&n

d

e

f

Na

and chart level

when ever clik on "NA" in lis box

sno,snd,name

1,,raju,

2,,ravi

3,,Ramu

4,,Nani

and when ever select snd listbox inside "A" o/p like below..

sno,snd,name,

1,a,b,c&d.raju

thanks

nani

Chanty4u
MVP
MVP

in this output  is so many rows?

sno,snd,name

1,["A","b","c\u0026 n"],raju

2,["d","e","f"],ravi

3,,ramu

4,,Nani

I am expacted in list box level

snd

a

b

c&n

d

e

f

Na

Anonymous
Not applicable
Author

yes