Hi KoolReport folks, need your help figuring this out. I've 3 dataStores: #1
$first = $this->src('mysql')->query($queryPlanning)
->pipe(new Group(array(
"by"=>array("PlannerID","Planner"),
"sum"=>"Balance"
)))
->pipe($this->dataStore('query'));
#2 $second = $this->src('mysql')->query($queryQuoting)
->pipe(new Group(array(
// "by"=>"Quoter",
"by"=>array("QuoterID","Quoter"),
"sum"=>"BalanceQuoting"
)))
->pipe($this->dataStore('queryQuoting'));
#3 $third = $this->src('mysql')->query($queryShared)
->pipe(new Group(array(
"by"=>"SharedName",
"sum"=>"Balance"
)))
->pipe($this->dataStore('queryShared'));
Now, I am trying to join the tables. Expected result: A combination of both tables. All names will be listed independently if they are in both tables or not. I am trying this: $join = new Join($first,$second,array("PlannerID"=>"QuoterID"));
$join->pipe($this->dataStore("result"));
I am getting nothing - result table is blank. It is not even showing the ids that are overlapping for some reason.
Example #1 data source 01 PB 1000 02 CC 2000 #2 data souce 01 PB 300 05 AA 5000
Expected results: 01 PB 1000 300 02 CC 2000 0 05 AA 0 5000
Any help is appreciated. thank you Paulo