Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

cancel
Showing results for 
Search instead for 
Did you mean: 
evgeniyita
Creator
Creator

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)

evgeniyita
Creator
Creator
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