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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Concatenate Kilometer and meter

Hi,

It's possible concatenating in script two columns and create a new one in this model?

Column KM: 357

Column M: 8

Result: 357008

1 Solution

Accepted Solutions
sunny_talwar

May be like this:

LOAD [Column KM] & Num([Column M], '000') as Result

FROM Source;


or

LOAD Num(Num#([Column KM] & Num([Column M], '000'), '##')) as Result

FROM Source;

View solution in original post

2 Replies
sunny_talwar

May be like this:

LOAD [Column KM] & Num([Column M], '000') as Result

FROM Source;


or

LOAD Num(Num#([Column KM] & Num([Column M], '000'), '##')) as Result

FROM Source;

swuehl
MVP
MVP

You can also probably completely avoid the number formatting and (implicite) interpretation:

LOAD *,

      KM*1000+M as Meter

INLINE [

KM, M

357, 8

];