Dynamic pages, dataset and filter = error 404

In what environment do you test this? Preview or published? I think you must try this in published not preview to make it work solid.