Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hey!!
What's Up? I want to know How can I cross a dimention (qvd) with a Excel File (xlsx).
I have the case:
Client Dimention:
Client Code
Cliente Name
Cliente Product Code
Excel File:
Product Code
Product Name
Product Risk
And I whant a dimention called Analysis:
Analysis:
Cliente Code
Product Code
Product Risk
But I don't know how to get it.
Hope your help!!
Thanks!!
HI
Join with excel and qvd
Try like this
Client:
Load
ClientCode,
ClienteName,
ClienteProductCode
from client.qvd(qvd);
Left join(Client)
Load
ProductCode as [ClienteProductCode],
ProductName,
ProductRisk
From product.xlsx;
"Cliente Product Code" and "Product Code" have the same values (can be a key)?
If so,just rename
LOAD
*,
Product Code as liente Product Code
from yourexcelfile;
AQL will handle the rest
Yeah, but I need to use:
WHERE Cliente Country = 'Germany'
And the Cliente Country is in the Dimention Cliente.
You will need to join the tables first, and then reload using a RESIDENT load, to only filter Clients from Germany.
Hi,
Try like this
Client:
Load
ClientCode,
ClienteName,
ClienteProductCode
from client.qvd(qvd);
Left join(Client)
Load
ProductCode as [ClienteProductCode],
ProductName,
ProductRisk
From product.xlsx;
Analysis:
Load
Cliente Code,
Product Code,
Product Risk,
Resident Client
where dim='dim Value';