Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
oscargm_bi
Contributor III
Contributor III

Replace many data with other text

 

Hi all,

 

I need to erase the "v.1, v.2, v.3, etc..." of all the registers that I have in the Column Garantia. Im triying to use replace function, but only works with one argument:

 

Example:  Replace(Garantia,'EUROSCHENGEN v.8','EUROSCHENGEN') as garantia2,

 

How can I replace all the registers that contains v.1, v.2, v.3 for a space? 

 

Thank u.

Labels (2)
1 Solution

Accepted Solutions
JGMDataAnalysis
Creator III
Creator III

SubField(Garantia, ' v.', 1) AS Garantia1

View solution in original post

5 Replies
bharathadde
Creator II
Creator II

try this

Left(Garantia, index(Garantia,' ',1)-1) as  garantia2

oscargm_bi
Contributor III
Contributor III
Author

Thanks a lot !!

 

It works, but if u see the imagen attached with that formule delete me the "30 , 60 and 90" of that contracts, can you think of something to fix it?

JGMDataAnalysis
Creator III
Creator III

SubField(Garantia, ' v.', 1) AS Garantia1

oscargm_bi
Contributor III
Contributor III
Author

Thanks!!!!! 🙂
oscargm_bi
Contributor III
Contributor III
Author

thanks!! 🙂