Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have an excel file listing all customers to whom I sent a marketing message - daily I will now upload a transaction extract so I can measure the purchasing behaviour of these customers (what percentage of them made a purchase, etc.).
This is currently my script:
LOAD [Cell phone],
[Account No],
Title,
[First name],
[Last Name],
OTB,
Country,
[Date SMS Sent]
FROM
(ooxml, embedded labels, table is Sheet1);
LOAD
Company,
Product,
[Account No],
[Posted Date],
[Effective Date],
[Store No],
[Merchant Code],
[Store Name],
[Store Country],
[Card No],
[Transaction Type],
[Tran Code],
[Trans Desc],
[Trans Amount],
[Trans Auth]
FROM
(txt, codepage is 1252, embedded labels, delimiter is '~', no quotes, header is 1 lines)
WHERE ([Tran Code]=35 or [Tran Code]=36) and exists([Account No])
I have a few questions on this and will have many in the days to come... not sure if I should start a new post for each separate question, as I then have to explain the entire situation each time - please advise on this.
For now, the pertinent questions are:
I know this is a lot to ask, but any and all help will be appreciated.
Thanks,
Gerhard
Hi gerard,
1) You can use something like:
if([trancode] = '35', '35-name', '36-name') as TRAN
Then if you want it in a graph per trancode you have to use TRAN in you dimension.
kind regards,
Martijn