Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Skip the ticket, Chat with Qlik Support instead for instant assistance.
cancel
Showing results for 
Search instead for 
Did you mean: 
karan_kn
Creator II
Creator II

create new field based on the string

If status field contains 'PROGRESS', Create a new field (PROGRESS else DONE)

LOAD * INLINE [
ID, Status
1, Projectx AA sfdfdsfdf PROGRESS
2, Projects sdfsdfA dfgdfg
3, Projectu AdsfA tryth PROGRESS
4, Projectf AgnfA cfdfgdfg
5, Projectd AdfdfA dfgdnn
6, Projectc AfdgfA cvbcbtg PROGRESS
7, Project AfgdfgA fgfdsgdfg PROGRESS
];

 

1 Solution

Accepted Solutions
Saravanan_Desingh

one solution is.

tab1:
LOAD *, If(Upper(Status) Like '*PROGRESS*', 'Y') As Progress,
		If(Not(Upper(Status) Like '*PROGRESS*'), 'Y') As Done;
LOAD * INLINE [
ID, Status
1, Projectx AA sfdfdsfdf PROGRESS
2, Projects sdfsdfA dfgdfg
3, Projectu AdsfA tryth PROGRESS
4, Projectf AgnfA cfdfgdfg
5, Projectd AdfdfA dfgdnn
6, Projectc AfdgfA cvbcbtg PROGRESS
7, Project AfgdfgA fgfdsgdfg PROGRESS
];

commQV69.PNG

View solution in original post

1 Reply
Saravanan_Desingh

one solution is.

tab1:
LOAD *, If(Upper(Status) Like '*PROGRESS*', 'Y') As Progress,
		If(Not(Upper(Status) Like '*PROGRESS*'), 'Y') As Done;
LOAD * INLINE [
ID, Status
1, Projectx AA sfdfdsfdf PROGRESS
2, Projects sdfsdfA dfgdfg
3, Projectu AdsfA tryth PROGRESS
4, Projectf AgnfA cfdfgdfg
5, Projectd AdfdfA dfgdnn
6, Projectc AfdgfA cvbcbtg PROGRESS
7, Project AfgdfgA fgfdsgdfg PROGRESS
];

commQV69.PNG