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: 
Anonymous
Not applicable

Combine 2 variable in 1

Hi all,

Very easy question. How combine 2 variable in 1 in load?

Var1Var2
0

4
7
9
2
6

8
4
9

10
3
7
5

Thanks,

13 Replies
rbecher
MVP
MVP

Then you have to use if() function:

if(len(trim(Var1))=0, Var2, Var1)

- Ralf

Astrato.io Head of R&D
swuehl
MVP
MVP

Maybe like this:

TMP:

LOAD  

     RangeMaxString(String1,String2) as Result

INLINE [

String1, String2

Hello, Hello

, Hallo

No, No

Yes,

];

Anonymous
Not applicable
Author

Thanks,

It works!!!

Anonymous
Not applicable
Author

Thanks,

I didn't check it, but you always give right idea and issue.

Thanks again.