Power BI 报表中的静态内容Static content in Power BI reports

使用 Power BI 服务和 Power BI Desktop 可将文本框和形状添加到报表。Text boxes and shapes can be added to reports using Power BI service and Power BI Desktop. 在这两种情况下,必须具有报表的编辑权限。In both cases, you must have editing permissions for the report. 如果报表已与你共享,你将不具备访问编辑视图的权限。If a report has been shared with you, you will not have access to Editing view.

Watch Will 使用 Power BI Desktop 向报表添加静态图像,然后按照以下步骤,改用 Power BI 服务亲自尝试一下。Watch Will use Power BI Desktop to add static images to a report, and then follow the steps below to try it out yourself using Power BI service instead.

向报表添加文本框Add a text box to a report

  1. 在“编辑”视图中打开报表。Open a report in Editing view.

  2. 将光标置于报表画布中的任意空白区域,然后选择“文本框”。Place your cursor in any blank area on the report canvas and select Text Box.

  3. 在文本框中键入文本,可以选择设置字体格式、颜色和文本对齐方式。Type your text into the text box and, optionally, format font, color, and text alignment.

  4. 若要放置文本框,可选择顶部的灰色区域并拖动。To position the text box, select the grey area at the top and drag. 若要调整文本框大小,可选择并拖动任意边框手柄。And to resize the text box, select and drag any of the outline handles.

  5. 在文本框仍处于选中状态的情况下,在可视化效果窗格中添加其他格式设置。With the text box still selected, add additional formatting in the VISUALIZATIONS pane. 在该示例中,我们设置了背景和边框的格式。In this example we've formatted the background and border. 也可以为文本框创建准确大小和位置。You can also create an exact size and position for a text box.

  6. 若要关闭文本框,可选择报表画布上的任意空白区域。To close the text box, select any blank space on the report canvas.

  7. 选择“大头针”图标 以将文本框固定到仪表板。Select the pin icon to pin the text box to a dashboard.

向报表添加形状Add a shape to a report

  1. 将光标置于报表画布中的任意位置,然后选择“形状”。Place your cursor anywhere on the report canvas and select Shapes.

  2. 在下拉列表中,选择要向报表画布添加的形状。From the dropdown, select a shape to add it to your report canvas. 我们将添加一个箭头,指向总销售额差异最高的气泡。Let's add an arrow to direct attention to the bubble with the highest total sales variance.

    在“设置形状格式”窗格中,自定义形状。In the Format shape pane, customize your shape. 在此示例中,我们创建的是具有深红色边框且旋转了 90 度的红色箭头。In this example we've created a red arrow with a dark red border, rotated 90 degrees.

  3. 若要放置形状,请选择顶部的灰色区域,然后拖动。To position the shape, select the grey area at the top and drag. 若要重设形状大小,请选择并拖动任意边框图柄。And to resize the shape, select and drag any of the outline handles. 在文本框中,也可以为形状创建准确大小和位置。As with the text box, you can also create an exact size and position for a shape.

注意:形状无法固定到仪表板(除非在固定活动页面时作为视觉对象之一)。NOTE: Shapes cannot be pinned to a dashboard, except as one of the visuals when you pin a live page.

后续步骤Next steps

向文本框添加超链接Add a hyperlink to a text box

Power BI - 基本概念Power BI - Basic Concepts

更多问题?More questions? 尝试参与 Power BI 社区Try the Power BI Community