Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Community....
Please help me to remove synthetic keys for below tables...
Purchase:
LOAD
%PG,
PurchaseSupplierID,
[Purchase Cost],
[Purchase Qty],
[Purchase Month],
PurchaseMonthName,
PurchaseQuarter,
[Purchase Year]
FROM
(
Inventory:
LOAD
%PrimeSupplierID,
[ECP NO],
%PG,
InventoryTotalValue,
InventoryTotalQty
FROM
(
SalesData:
LOAD
%PG,
%PrimeSupplierID,
[Sales Value],
[Cost Value],
[Qty Sold],
SalesMonth,
SalesMonthName,
SalesYear,
SalesQuarter
FROM
(
TitleMap:
Mapping Load
PM,
[PM Name]
FROM
(
PRODUCTGROUP:
LOAD
PC as %PG,
PCNAME as PGName,
DG1 as [PGLevel 01],
DG1NAME as [PGLevel 01 Name],
DG2 as [PGLevel 02],
DG2NAME as [PGLevel 02 Name],
PM,
ApplyMap('TitleMap',PM) as [PM NAME],
BM
FROM
(
Supplier:
LOAD
Supplier,
[Supplier Name]
FROM
(
Left Join (Purchase) Load *, Supplier as PurchaseSupplierID Resident Supplier;
Left Join (SalesData) Load *, Supplier as %PrimeSupplierID Resident Supplier;
Drop Table Supplier;
LostSale:
LOAD
[ECP NO],
%PG,
[Lost Qty],
[Lost Value]
FROM
(
You need to create composite keys.
For more information see:
http://community.qlik.com/message/50060#50060