Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Can someone help me in getting the count() function executed
Load
Place, Building, Location, Units, Bridge, Barcode, Units, Bay, Position, Level, Position&Level as PL, Bay&Location as BL
from table1;
I wanna get the Count(Barcode) by Place
Count(Barcode) by BL
Count(If(Units>0, Barcode) by Place
Count(If(Units>0, Barcode) by BL
Sum(Units) by Barcode;
Yes, your code will work, Instead the below code will also give the same result.
Left Join(Table1)
LOAD Warehouse,
LBCD,
Count(Distinct(LBCD)) as tt,
Sum(Units) as TOtalUnits Resident Table1 Group By Warehouse,LBCD;
Why does it need to be done in the load script and not in the App itself? Just to get a better understanding of what you would like to accomplish.
There millions of rows of data which is slowing down the app when its calcualted in front end.
Could you post small sample of your data?
I'm using PE.
Attached csv or xls
Hi,
PFA
Was trying this Sir.
Table1:
LOAD Warehouse,
LBCD,
Zone,
Units
FROM
Book1.xlsx
(ooxml, embedded labels, table is Sheet1);
Left Join(Table1)
Load Count(LBCD) as Total, Count(If(Units>0, LBCD)) as Filled Resident Table1 Group by Warehouse;
Left Join(Table1)
Load Sum(Units) as TOtalUnits Resident Table1 Group by LBCD;
Really?
This is the same data set as per your first post....?
I created a sample data sir.