I'm using MongoDB Compass Community version 1.17.0. While trying to use $match as the first step, it's giving me this message
$match
Remove new in front of Date from your query.
new
Date
Use this
{ utcDate: { $gt : Date("2019-04-01") } }