I apply the operator TOP N (=5) to get only the first 5 records of a dataset sorted by a DateTime field. It sorts the data correctly as seen in the previewed report, but still returns all data records rather than the first 5 of them.
If I apply the TOP % operator, the dataset seems filtered as expected.
The workaround I have found is to apply second TOP N filtering with an empty expression as seen in the linked screenshot.
I have attached also a sample report demonstrating the issue and the workaround.