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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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,

Labels (1)
13 Replies
rbecher
Partner - Master III
Partner - Master III

Then you have to use if() function:

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

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
swuehl
Champion III
Champion III

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.