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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Replace * by 1 in the entire file

Hi,

I have more than 10 metrics in the file that contains * and I would like to replace it by 1. One way and it's a tedious way to do it is to use REPLACE function. For example: replace(CKD3_PRACTITIONER_FAC_TOTAL_PATIENTS,'*','1') as CKD3_PRACTITIONER_FAC_TOTAL_PATIENTS.

However, I have to use it for every single metrics, which is too time consuming.

How can I  place the * in the entire file with less effort, like what we can do in Excel?

Thanks!

2018-02-02_13-22-47.jpg

1 Solution

Accepted Solutions
tamilarasu
Champion
Champion

Hi Ze,

You have to use replace function for all the fields and no other way to replace it in a single go (as far as I know) but I might be wrong.

View solution in original post

1 Reply
tamilarasu
Champion
Champion

Hi Ze,

You have to use replace function for all the fields and no other way to replace it in a single go (as far as I know) but I might be wrong.