function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Eli BachEli Bach 

How to join multiple matches by using earliest/smallest match in Einstein Analytics (Wave)

I am trying to join a dataset which has multiple matches, see below for an example:

Dataset A
Org Id
Org1
Org2
Org3

Dataset B
EA IdOrg IdDate
EA1, Org1, 1/1/2016
EA2, Org1, 1/1/2017
EA3, Org2, 6/6/2017
EA4, Org3, 8/1/2017

In this example, I would like to join EA Id and Date in Dataset B to Dataset A by Org Id. However, there are multiple matches for Org1. I would like to only join either the earliest or smallest value from Dataset B (EA1, 1/1/2016) to Dataset A. The resulting dataset should be:

Dataset A
Org IdEA IdDate
Org1, EA1, 1/1/2016
Org2, EA3, 6/6/2017
Org3, EA4, 8/1/2017

Is this possible? 
Thanks