Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
kulasekhar
Creator
Creator

How to remove 7 in that

Hi All,

Load the following data into qlikview:

LOAD * INLINE[
F1

1234567

1234576

1234756

1237456

1273456

1723456

7123456


]
;

Need to filter the data where the values contain the digit ‘7’ in data above.

(remove 7 in that)

So output should be :

     F1

---------------

123456

123456

123456

123456

123456

123456

123456


Thanks,

sekhar

5 Replies
Anonymous
Not applicable

Hi,

Try

Replace(F1,7,'')

Regards,

Greeshma

rubenmarin

Hi Sekhar, you can use Purgechar():

LOAD PurgeChar(F1, '7') as F1;

LOAD * INLINE [

F1

1234567

1234576

1234756

1237456

1273456

1723456

7123456

];

kulasekhar
Creator
Creator
Author

Hi Ruben,

result display only one row.like 123456 

Thanks

sekhar

rubenmarin

Hi Sekhar, there are many records with the same value, in a list box will show as only one value, if you add some another distinct field like "RowNo() as Number", and create a table box with those two fields, you'll see all records separated.

kulasekhar
Creator
Creator
Author

ok

THanks

Ruben