Q:

How can I use lodash to filter value between two date?

created_at is the value I Want to compare with the beginDate and the endDate.

var newARRA = chain(this.props.transferts.transfertAccount)
.filter({ 'officeSender':
      this.props.users.user.office,officeReceiver:this.state.selectedOffice,
  'created_at':(this.state.beginDate,this.state.endDate)})
    
.groupBy("currency")
.map((v, k) => ({
     currency: k,
  amount: sumBy(v, 'fee')
 }))
.value();

A:

You'll need to use the filter's predicate function. Example (not tested):
var newARRA = chain(this.props.transferts.transfertAccount)
  .filter(({ officeSender, officeReceiver, created_at }) => {
    return _.eq(officeSender, this.props.users.user.office) &&
           _.eq(officeReceiver, this.state.selectedOffice) &&
           _.gte(created_at, this.state.beginDate) &&
           _.lte(created_at, this.state.endDate) &&
  })
  .groupBy("currency")
  .map((v, k) => ({
    currency: k,
    amount: sumBy(v, 'fee')
  }))
  .value();

