Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Script error

Hi ,

In The script i am trying to add the below expression but this is giving an error during reload process. load

Release,

if(not match(Status,'Defined','In Progress'),Release='Blank',Release) as RNUmber

Resident Test

Group by [Release],[Status];

how can i correct this

Thanks in advance

1 Solution

Accepted Solutions
ogautier62
Specialist II
Specialist II

Hi,

maybe this :

if(not match(Status,'Defined','In Progress'),'Blank',Release) as RNUmber

remove : release=

regards

View solution in original post

4 Replies
ogautier62
Specialist II
Specialist II

Hi,

maybe this :

if(not match(Status,'Defined','In Progress'),'Blank',Release) as RNUmber

remove : release=

regards

smilingjohn
Specialist
Specialist
Author

Hi Oliver,

Thanks this works ..

Actually i want to discard the whole content if there is Defined or in progress in it.

For which the above logic is not working ...

How do i achieve this

ogautier62
Specialist II
Specialist II

to have null :

if(not match(Status,'Defined','In Progress'),,Release) as RNUmber

if you want to skeep row :

add where match(Status,'Defined','In Progress') =0 in load

gavinigovind452
Partner - Contributor II
Partner - Contributor II

using above answer not getting error

[SalesPersonSales201806]:

LOAD * INLINE [

    Short_ID, Month

    1, AUG

    2, SEP

    3, DEC

    4, SEP

    5, SEP

    6, OCT

    7, JAN

    8, AUG

];

Tab:

load Short_ID,

if (not match(Month,'AUG','SEP'),'Blank','YES') as tert

Resident [SalesPersonSales201806];

getting below result:

   

Short_IDMonthtert
1AUGYES
2SEPYES
3DECBlank
4SEPYES
5SEPYES
6OCTBlank
7JANBlank
8AUGYES