Add a rectangle or container to a paginated report (Report Builder)

Applies to: Microsoft Report Builder (SSRS) Power BI Report Builder Report Designer in SQL Server Data Tools

Add a rectangle to a paginated report when you want a graphical element to separate areas of the report, emphasize areas of a report, or provide a background for one or more report items. Rectangles are also used as containers to help control the way data regions render in a report. You can customize the appearance of a rectangle by editing rectangle properties such as the background and border colors. For more information about using a rectangle as a container, see Rectangles and Lines (Report Builder and SSRS) and Display the Same Data on a Matrix and a Chart (Report Builder).

To add a rectangle

  1. On the Insert tab, in the Report Items group, click Rectangle.

  2. On the design surface, click the location where you want the upper left corner of the rectangle, and drag to where you want the lower-right corner.

    Note that as you move the cursor, "snap lines" appear as the cursor lines up with other objects on the design surface. These help you if you want objects to be aligned.

To create a container

  1. Add a rectangle report item to the report.

  2. Drag other report items into the rectangle.


    A rectangle is only a container for items that you either create in the rectangle or drag into the rectangle. If you draw a rectangle around an item that already exists on the design surface, the rectangle will not act as its container.

To change rectangle properties such as color, style, or weight

  1. Select the rectangle, and then click the line color, style, or weight options in the Border section of the Home tab.

  2. Click the arrow next to the Border button to determine which sides of the rectangle to change.


    If you set the line style to Double and the line width is 1 1/2 pt or narrower, the line may not appear double when you run the report in Report Builder, Report Designer, or in the Reporting Services web portal. It appears double when you export the report to other formats such as Microsoft Word and Acrobat PDF.

See Also

Rectangles and Lines (Report Builder and SSRS)
Rendering Behaviors (Report Builder and SSRS)