I don't know why but I can't get this to work. I think it's in my data.
I created a collection
ClearCollect(MyData;Filter(MySource;!IsError(DateValue(FabDate))))
to filter the "bad" lines and it is OK.
Now my gallery items are:
GroupBy(Filter(MyData; DateValue(FabDate)<= Today());'Machine';GroupRef)