Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

deere2013
New Contributor III

Left join based on a period

Good day.  Trying to join some information based on fields that are not unique.  So what would the script be to separate it out.

162.3.  Where everything before the first period is what I want to call Task List ID.  Everything between the periods I want to call Task Number.

So I want to separate based on the periods.  The two files are Excel so when I load the files.  This field comes in as xls. rather than delimited type.

1 Solution

Accepted Solutions
Employee
Employee

Re: Left join based on a period

LOAD

subfield(yourfield,'.',1) as First,

subfield(yourfield,'.',2) as Second

FROM yourexcel

6 Replies
Employee
Employee

Re: Left join based on a period

Well, your files aren´t showing up. Maybe you should re-upload them

deere2013
New Contributor III

Re: Left join based on a period

Sorry...didn't upload.  Do you need them?


Employee
Employee

Re: Left join based on a period

Trying to figure out what you really want, could you give us more information?

deere2013
New Contributor III

Re: Left join based on a period

SOrry for the delay...I don't know where the button is to upload the file

Employee
Employee

Re: Left join based on a period

LOAD

subfield(yourfield,'.',1) as First,

subfield(yourfield,'.',2) as Second

FROM yourexcel

deere2013
New Contributor III

Re: Left join based on a period

Yahtzee!  Exactly what I needed.  Appreciate your help!  Have a great day!