Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Divide 2 fields

Hi,

I have a script consisting of several joins. I want to add a calculated field in the end, where I devide the value of 2 fields. My problem is that when deviding the key field is not taken into account. See attached file.

I would expect a result with 3 rows - one row for each article. Please help.

1 Solution

Accepted Solutions
MVP
MVP

Divide 2 fields

I think you need to use the Article field in your last left join:

left join (Data)

load Article,

    Qty/BoxSize as NumberBoxes

Resident Data;

2 Replies
MVP
MVP

Divide 2 fields

I think you need to use the Article field in your last left join:

left join (Data)

load Article,

    Qty/BoxSize as NumberBoxes

Resident Data;

Not applicable

Re: Divide 2 fields

Use resident load, see attached

Community Browser