Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
while Creating the autonumber Loading issue is coming on Result Table
//Scripting code for AutoNumber
RegionSales:
Load *,
AutoNumber(Date&Month&Year) as RDYM;
Load * Inline
[
Date,Month,Year,Sales
17,08,1992,800
17,08,1992,700
23,05,1992,900
23,05,1992,900
07,08,2019,1000
23,05,1992,900
];
Store RegionSales into [lib://DataFiles/RegionSales.qvd](qvd);
Result:
Load
Date,
Month,
Year,
Sum(Sales) as Total
Resident RegionSales;
Drop Table RegionSales;
Dataload Error in the below
well... aggregations in script (as in all sql) need to be used in combination with a group by expression...
Result:
Load
Date,
Month,
Year,
Sum(Sales) as Total
Resident RegionSales
group by Date,Month,Year;
Drop Table RegionSales;