We have a large "Staff List" report from our HR system which I would like to Cache/Snapshot on a nightly basis to avoid daytime load on the HR DB.
I would like for the Snapshot to return all staff, in all departments, and then have the report filter the rows by department based on @UserID.
The data linking Users to allowed Departments is also in the HR DB.
I currently have 2 datasets. One for the Staff details and another linking Users to Departments.
- I assume I can't use @UserID in either dataset query and still cache/snapshot.
- I can't maintain a folder with linked reports for each Department, there are hundreds!
- Adding a Filter to the Datasets seems to prevent caching/snapshotting.
- I can't find a way to filter a Table with data from the Staff Details dataset using data in the Linking Dataset.
Any ideas?!