Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Tommmy
Contributor III
Contributor III

Concatenate & value replacement

Hi experts

simple question but I was  not able to solve it: I need to replace the value of "Account" to 'XX' in any case. This will be done in the second step within the Concatenate. Any ideas how to write the code correct?

Trans2:
LOAD *

resident Trans1 where KONTO = '4011';

Concatenate (Trans2)
LOAD *

,if(len(trim(Account))=0,'XX', 'XX')

resident Trans1;

 

Labels (4)
1 Solution

Accepted Solutions
MayilVahanan

Hi

If you want the Account - 'XX' in any case, try like below

Load urfields,  'XX' as Account resident Trans1;

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

1 Reply
MayilVahanan

Hi

If you want the Account - 'XX' in any case, try like below

Load urfields,  'XX' as Account resident Trans1;

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.