Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Convert a string data column to an appropriate format

Hello,

I've got a column "DAYS" in a source data file with the following data (week's days):

FRI,SAT

THUS/MON

WED

...

As you can see, delimiters and symbols are different. How to get the following result in QlikView by the easiest way:

Fri/Sat

Thu/Mon

Wed

With best regards,

Evgeniy Sharahov

1 Solution

Accepted Solutions
amira_khemissi_
Contributor III
Contributor III

Hi,

You can try if(wildmatch(field,'*,*')>0,replace(field,',','/'),field)

View solution in original post

3 Replies
amira_khemissi_
Contributor III
Contributor III

Hi,

You can try if(wildmatch(field,'*,*')>0,replace(field,',','/'),field)

Anonymous
Not applicable
Author

Hi Amira,

Thank you. And we also need to add Capitalize()  to convert to the appropriate format.

amira_khemissi_
Contributor III
Contributor III

You can use the UPPER() function of QlikView