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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

removing the comma in qlikview

Hi All ,

i Have  an text format Like the  "nam , gpa , 11 "

i want to Remove the commas  convert that text format into normal form Like            nam pga 11 

Labels (1)
14 Replies
sunny_talwar
MVP
MVP

May be this:

PurgeChar(FieldName, ',')


Capture.PNG

marcus_sommer
MVP
MVP

Try: Replace(Field, ', ', '')

- Marcus

Chanty4u
MVP
MVP

use purgchar(name,',')

or

   Subfield( Mid( MyField, Len(MyField) ), ',' )

Not applicable
Author

I want to Remove the Double Quotes also  ... this one   " " 

sunny_talwar
MVP
MVP

Try this:

PurgeChar(FieldName, Chr(34) & ',')

Not applicable
Author

give one Example     

sunny_talwar
MVP
MVP

Here is one:

Table:

LOAD Field,

  PurgeChar(Field, Chr(34)&',') as NewField;

LOAD * Inline [

Field

'"nam , gpa , 11 "'

];

Capture.PNG

avinashelite
MVP
MVP

if you want to remove both the " &,

purgechar(' "nam , gpa , 11" ','," ')

Kushal_Chawda
MVP
MVP

try this one also

keepchar(Fieldname,'abcdefghijklmnopqrstuvwxyz0123456789') as NewField