Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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