Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Replace function with 2 conditions

Hi All,

I have a simple query. When using the replace function in the script.

eg. replace(StoreName,'Store','') as StoreName

Above replaces all StoreNames with the name 'Store' with a blank.

What if i need to replace multiple text values. eg. Store and Shop how would i go about it?

I have tried replace(StoreName,'Store','Shop','') as StoreName

                 replace(StoreName,('Store','Shop'),'') as StoreName

Any ideas or solutions?

Regards,

Richard

1 Solution

Accepted Solutions
Not applicable
Author

Sorry found another way around it =  replace(replace())

View solution in original post

1 Reply
Not applicable
Author

Sorry found another way around it =  replace(replace())