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

Announcements
We are aware of an issue with the Product Downloads page and looking into it.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Split values in loadscript

In my loadscript  i want to load the first digits to one value and the rest to another.

123456789000 should become

123456 (value 1)

789000 (value 2)

I've a fixed limit should always be the first 6 didigts to value 1 and the last to value 2

Labels (1)
4 Replies
Not applicable
Author

left(value,6) as value1,

right(value,6) as value2

Not applicable
Author

Ok so in Load script it should be if my table are named "Order_number"

Order_number left(value,6) as value1,

Order_numver right(value,6) as value2,

or is it

left(order_number,6) as value1,

right(order_number,6) as value2,

?

Not applicable
Author

load left(order_number,6) as value1,

right(order_number,6) as value2

MK_QSL
MVP
MVP

Left(Order_number,6) as Value1,

Right(Order_number,6) as Value2