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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
sowmi
Creator
Creator

Remove text

I have a 'sw'field in my db which contains values such as the following:

1. dw8 12.8.2/9.2

2. d8 12.8.2 A/B/G/N

3. Blank



Basically im aiming to change to the values to:


1.12.8.2/9.2

2.12.8.2

3.Blank

2 Replies
Colin-Albert
Partner - Champion
Partner - Champion

Use subfield.

     subfield(data, ' ', 2) as sw   will just return the data after the first space

test1.JPG

test:

load

subfield(data, ' ', 2) as sw,

data

inline [

data

dw8 12.8.2/9.2

d8 12.8.2 A/B/G/N

Blank

] ;