SSRS How can I read Report Modified date

Use the Catalog table from the reportserver database, which will field called ModifiedDate for each report that you can use to display the modified date.

 

1. Create a dataset with the follwing query:

SELECT        TOP (1) ModifiedDate
FROM            ReportServer.dbo.Catalog
WHERE        (Name = @ReportName) AND (Type = 2)

//ReportServer is the database name

This will create a ReportName parameter automatically.

2. Change the default value of that parameter to expression: =Globals!ReportName

 

Now add a text box and add Modified Date from the dataset.

Advertisements
By simplemsexchange Posted in SSRS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s