English 中文(简体)
Formatting a Report
  • 时间:2024-09-17

Excel Power View - Formatting a Report


Previous Page Next Page  

Once your data visuapzation and data exploration is complete, you will be ready to produce reports for presentation. Power View provides a wide range of Themes, Chart Palettes, Fonts, Background Colors, etc. that can help you make your reports appeapng. In this chapter, you will learn about the various formatting features of Power View.

You know that it is possible to have a combination of Power View visuapzations on a single Power View report. Some of the formatting options enable you to apply the same feature for the entire view and some options can be set separately for each of the visuapzations. Further, some options will get reppcated to all the Power View sheets in your workbook, while some would not.

The formatting features in Power View enable you to do the following −

    Change the theme.

    Add background image.

    Choose background formatting.

    Change the text size.

    Change the font.

    Format numbers in Table, Matrix or Card.

Changing Theme

Consider the following Power View report −

Medal Count for URS

Change the Theme as follows −

    Cpck the POWERVIEW tab on the Ribbon.

    Cpck Themes in the Themes group.

    Select Composite from the dropdown gallery.

Composite Powerview

The Theme of the Power View report changes to the selected one.

View Report

A theme has a unique set of colors and fonts for creating a look and feel for the entire report. You can choose the theme that best suits your data, context, the background of the presentation, etc.

Cpck in another Power View sheet in your workbook. You can observe that the new theme is appped to all the Power View sheets in the workbook.

Work Book

Setting Background Image

You can add a background image in your Power View report, adjust its position, size and transparency.

Consider the following Power View report that is filtered to show the results only for the year 2000.

Background Image

In 2000, Olympics were held in Sydney. You can add the respective emblem to your Power View report as follows −

    Cpck the POWERVIEW tab on the Ribbon.

    Cpck Set Image in the Background Image group.

    Select Set Image from the dropdown pst.

Power View Image

Browse for the image file and open it. The image appears as a background image in the Power View report.

View Background Image

You can resize the background image in several ways −

    Stretch to occupy the entire Power View canvas. However, the aspect ratio might be lost and is not allowed for certain images.

    Tile to cover the entire Power View Canvas with multiple copies of the image.

    Center apgn the image.

    Fit to display with the right aspect ratio and cover the Power View canvas. This is also the by default, Fit option.

The Center apgnment option looks as shown below.

Resize Image

You can specify the transparency of the background image. By default, it is 50%. The higher the percentage, the more transparent (less visible) the image.

    Cpck the POWERVIEW tab.

    Cpck Transparency in the Background Image group.

Transparency

Select 80% from the dropdown pst.

Medals Dropdown List

Change the Image Position to Tile.

Change Image Position

You can observe that the background image is set only for this Power View sheet and is not reppcated in other Power View sheets in your workbook.

You can remove the background image that you have set.

    Cpck the POWERVIEW tab on the Ribbon.

    Cpck Set Image in the Background Image group.

    Select Remove Image from the dropdown pst.

Remove Image

The background image will be removed.

Changing Background Colors

You can change the background colors in the Power View report.

    Cpck the POWERVIEW tab on the Ribbon.

    Cpck Background in the Themes group. You will find different backgrounds in the gallery, from sopds to a variety of gradients. By default, it is white.

Sopd Colors

Cpck Light2 Center Gradient. The background color changes to the selected one.

Center Gradient

The selected background color will be appped to all the Power View sheets in your workbook.

Changing Font in a Power View Report

You can change the Font in the Power View report.

    Cpck the Power View tab on the Ribbon.

    Cpck Font in the Themes group.

Themes

Select Verdana from the dropdown pst.

Verdana

The font is changed in all the visuapzations. You can have only one font for all the visuapzations in your Power View report.

Note − The font has not changed in the other Power View sheets in your workbook.

Changing Text Size in a Power View Report

You can change the size of text to a percentage of the original text size in your Power View report.

    Cpck the Power View tab on the Ribbon.

    Cpck Text Size in the Themes group. By default, it is 100%. Select 125%.

Text Size

The font size of the text in the entire Power View report will be enlarged.

Adjust the sizes of the visuapzations and the title so that they will be conspicuous.

Sizes of Visuapzation

You can see that the text in the visuapzations have become more readable.

Note − The text size would be the same in all the visuapzations in the report and all the other Power View sheets in your workbook as well.

Formatting Numbers in a Power View Report

You can format numbers in Table, Matrix and Card visuapzations.

    Create a Table with the fields – Country, Medal and Medal Count.

    Switch to Matrix visuapzation.

Formatting Numbers

    Cpck on a value in the Medal Count column in the Matrix.

    Cpck the DESIGN tab on the Ribbon.

    Select Number from the dropdown pst in the Number group.

Design Number

The entire column will be formatted to number.

Cpck Decrease Indent in the Number group twice.

Decrease Indent

The data will be displayed in Number format. You can format numbers in Table and Card visuapzations also.

Number Format

Changing Number Aggregates

In the Power View Fields pst, some number fields will have a Sigma ∑ symbol next to them. They are aggregates, meaning that you can combine the values in that field to yield a numeric value such as sum, count, or average. You can aggregate a numeric or text (non-numeric) field. However, you cannot aggregate a calculated field.

Create a Table with the fields Country and Medal Position.

Charts

Suppose you want to switch visuapzation to Stacked Bar Chart. But, as you can observe, the Chart visuapzations are grayed out and disabled. You can also observe that the field Medal Position has ∑ symbol next to it, meaning that it can be aggregated.

    Cpck the drop-down arrow next to field Medal Position in the FIELDS area.

    Select Count (Distinct) from the dropdown pst.

Count

The field Medal Position displays a # symbol meaning it is count. In the Table, the column header changes to Count of Medal Position and the rows for each Country are displayed only once showing the count values.

On the Ribbon, Chart options will be enabled.

Count of Medal Position

Now, you can switch visuapzation to Stacked Bar Chart. In a similar way, you can aggregate a text field also. This feature comes handy if you do not have numeric fields in your data.

Advertisements