Hi, want to achieve daily,weekly ,monthly, yearly report empDirectory.csv contains Employee ID,Employee Name, Manager ,ManagerID one.CSV contains Date1 and EMP_ID1 Two.csv contains Date2 and EMP_ID2 want to compare employee from Two.csv is present in one.csv on particular date. below is my query. | inputlookup one.CSV |dedup EMP_ID1,Date |lookup empDirectory.csv EMP_ID as EMP_ID1 |search ManagerID=Manager1 |table Date1,EMP_ID1,ManagerID |join [ inputlookup two.CSV |dedup EMP_ID2, Date2 |lookup empDirectory.csv EMP_ID as EMP_ID2 |search ManagerID=Manager1 |table Date2,EMP_ID2] |table Date1,EMP_ID1,ManagerID,Date2,EMP_ID2 |eval GoodEMP=if(EMP_ID1=EMP_ID2, "Good", "NotGood") |search GoodEMP=GoodEMP |table GoodEMP,Employee ID,Employee Name, Manager ,ManagerID extending above query to timechart |timechart count(GoodEMP) as GoodEMP by Date2 expected result Total number of GoodEMP per day under manager want to create monthly,weekly, yearly graph
... View more