Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Brand new to Qlikview scripting, hope someone can help. I want to only load lines with a specific value identified in them. I've tried several different statements and I can't get them to work. Here is the script:
LOAD:
SAP_CUST_NO,
DIST_CHANNEL as SHIPMENT_DIST_CHANNEL,
ORD_STATUS,
SAP_ITEM_NO as SHIPMENTS_SAP_ITEM_NO,
ACT_SHIP_DATE as DAY_CODE,
SHIP_QTY_SELL
FROM
I only want to load lines with the ORD_STATUS of S, how do I do this?
Hi,
you can do this using a where clause:
LOAD:
SAP_CUST_NO,
DIST_CHANNEL as SHIPMENT_DIST_CHANNEL,
ORD_STATUS,
SAP_ITEM_NO as SHIPMENTS_SAP_ITEM_NO,
ACT_SHIP_DATE as DAY_CODE,
SHIP_QTY_SELL
FROM
Best regards
Stefan
Hi,
you can do this using a where clause:
LOAD:
SAP_CUST_NO,
DIST_CHANNEL as SHIPMENT_DIST_CHANNEL,
ORD_STATUS,
SAP_ITEM_NO as SHIPMENTS_SAP_ITEM_NO,
ACT_SHIP_DATE as DAY_CODE,
SHIP_QTY_SELL
FROM
Best regards
Stefan
LOAD:
SAP_CUST_NO,
DIST_CHANNEL as SHIPMENT_DIST_CHANNEL,
ORD_STATUS,
SAP_ITEM_NO as SHIPMENTS_SAP_ITEM_NO,
ACT_SHIP_DATE as DAY_CODE,
SHIP_QTY_SELL
FROM
WHERE ORD_STATUS = 'S'
;
Try to load like
LOAD:
SAP_CUST_NO,
DIST_CHANNEL as SHIPMENT_DIST_CHANNEL,
ORD_STATUS,
SAP_ITEM_NO as SHIPMENTS_SAP_ITEM_NO,
ACT_SHIP_DATE as DAY_CODE,
SHIP_QTY_SELL
FROM
Where ORD_STATUS = 'S';
Here is assume ORD_STATUS has the values 'S' then use this Where ORD_STATUS = 'S'; at the end of the load script and you can use Match(ORD_STATUS,'S') also
Regards
Anand
Thank you!!!