In the Modern UX, Export to CSV will not work.
There will be a message: Cannot export to CSV in Group-By mode
Release: All
This is by design and is documented in the Common Components section of the documentation.