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: 
gizzel123
Creator
Creator

replace('X', <field>, '0') not working

Hi All,

I want to replace the 3rd char  'X'   from <field>,   to '0'.

thanks.

5 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Try with:

Replace(field, 'X', '0')

let me know

fvelascog72
Partner - Specialist
Partner - Specialist

Hi,

Try this:

Replace(FIELD,mid(FIELD,3,1),0)

qlikmsg4u
Specialist
Specialist

This should work

=Replace('FIELD',mid('FIELD',3,1),0)

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

Mid(FIELDNAME, 1,2) & '0' & Mid('FIELDNAME', 4)

Hope it helps you.

Regards,

Jagan.

sujeetsingh
Master III
Master III

=left(Field,2) &'0'& right(Field,len(Field)-3)

TRY this