Tabbed Report in SSRS using Bookmark

Here we will see how to create tabbed report in SSRS.

Step 1: Create following SQL table to work on

EmpId int,
EmpName nvarchar(50),
Location nvarchar(500),
EmpSalary int


Step 2:

Create Shared Data source and a Data set for each location as follows:

Step 3:

Add images (you can also use background color instead if it) as below:

Here are the images I have added above. (You can create these from excel via Insert -> Shapes and save)

Step 4:

  • Create textbox for each location as shown.
  • Also, create Page Header by right click -> Insert -> Page Header. Place a rectangle and textbox and name as shown below

Step 5:

Select textbox and press F4 for properties. Under Fill -> BackgroundImage, give Source as Embedded and Value as Selected (Image Name). Also give BackgroundColor to it. (You can also customize font used)

Repeat above step for all locations and it will now look as:

Step 6:

Place a rectangle over it as below and give Bookmark value as Bkm_

Step 7:

Add table from toolbox with values of Chennai as follows:

With all values filled and some customization your data will be as:

Repeat step 4 to step 7 for all locations.

Step 8:

Now the report will be as below:

Step 9:

Select the rectangle except the first one and select “Add a page break before” option.

Repeat this for all rectangles on each location.

Step 10:

For each text box select action and give action as “Go to bookmark” and Select bookmark value as Bkm_. Repeat this for all location textboxes.

Step 11:

Select each rectangle and give PageName as its Location Name highlighted. Repeat it for each location.

Step 12:

Run the report.

On click of each location name it will take to desired detailed page as below:

Export it to excel

Excel will be generated with location name in each tab. Also, tab functionality will work here. J


Leave a Reply

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

You are commenting using your 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