Edit

Share via


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

APPLIES TO: Power BI Report Builder Power BI Desktop

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 (Power BI Report Builder).

Add a rectangle

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

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

    Note

    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.

Create a container

  1. Add a rectangle report item to the report.

  2. Drag other report items into the rectangle.

    Note

    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.

Change rectangle properties such as color, style, or weight

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

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

    Note

    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 Power BI Report Builder or in the Power BI web portal. It appears double when you export the report to other formats such as Microsoft Word and Acrobat PDF.