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: 
vij1
Partner - Contributor II
Partner - Contributor II

I have 2 number fields and I have to concat them

Hi ,

I have 2 number fields and I have to merge them.

Example:

ABresult
213335667213300005667
23434657896234340657896

 

You can see the result column it contains exact 13 digit number wherein the zero is padded between the two numbers. So how can I achieve this result?

Thanks in advance!

 

2 Solutions

Accepted Solutions
stevejoyce
Specialist II
Specialist II

A & repeat(0,13-(Len(A) + Len(B))) & B

View solution in original post

vij1
Partner - Contributor II
Partner - Contributor II
Author

Thank you!

That works for me!!

View solution in original post

2 Replies
stevejoyce
Specialist II
Specialist II

A & repeat(0,13-(Len(A) + Len(B))) & B

vij1
Partner - Contributor II
Partner - Contributor II
Author

Thank you!

That works for me!!