Configure Table Behavior Properties for Power View Reports

Looking for help with Power Pivot in Excel 2013? Go to Power Pivot Help on Office.com.

If you are using a PowerPivot workbook as a data model for Power View, you can set table behavior properties that expose detail rows at a more granular level. Setting table behavior properties changes the grouping behavior of detail rows and provides a better default placement of identifying information (such as names, photo IDs, or logo images) in tile containers, cards, and charts.

Use this topic to learn how specific table behavior properties impact the report design experience in Power View.

In this article

How Table Behavior properties affect report design

Opening the Table Behavior dialog box

Setting the Row Identifier property

Setting the Keep Unique Rows property

Setting a default label

Setting a default image

Optimizing for Specific Layouts

Next Steps

How Table Behavior properties affect report design

In contrast with other reporting applications that require you to explicitly define grouping in a report, Power View groups items automatically based on which columns you place in the report field list and on the presentation format you are using. In most cases, the default grouping produces an optimum result. But for some tables, primarily those that contain detail data, the default grouping behavior will sometimes group rows that should not be grouped. For such tables, you can set properties that cause rows to be repeated rather than grouped together.

Setting table behavior properties is recommended for tables where the individual rows are of primary interest, such as employee or customer records. In contrast, tables that do not benefit from these properties include those that act as a lookup table (for example, a date table, a product category table, or a department table, where the table consists of a relatively small number of rows and columns), or summary tables containing rows that are only interesting when summarized (for example, census data that rolls up by gender, age, or geography). For lookup and summary tables, the default grouping behavior produces the best result.

Table behavior properties include the following:

  • Row Identifier ─ specifies a column that contains only unique values, allowing that column to be used as an internal grouping key.

  • Keep Unique Rows ─ specifies which columns provide values that should be treated as unique even if they are duplicates (for example, employee first name and last name, for cases where two or more employees share the same name).

  • Default Label ─ specifies which column provides a display name to represent row data (for example, employee name in an employee record).

  • Default Image ─ specifies which column provides an image that represents the row data (for example, a photo ID in an employee record).

Note

In SQL Server 2012, table behavior properties are used only by Power View. Table behavior properties have no effect in Excel pivot reports.

Arrow icon used with Back to Top linkBack to Top

Opening the Table Behavior dialog box

  1. In the Data View of your PowerPivot Window, click the PowerPivot Window: Advanced Tab.

  2. Click the table tab at the bottom of the window to select the table for which you are configuring properties.

  3. In Reporting Properties, click Table Behavior.

  4. Set the Row Identifier, and then proceed to specify other properties in this dialog.

Arrow icon used with Back to Top linkBack to Top

Setting the Row Identifier property

Within the table, the row identifier specifies a single column that contains only unique values and no blank values. The Row Identifier property is used to change grouping so a group is not based on a row’s field composition, but rather on a fixed column that is always used to uniquely identify a row, regardless of the fields used in a particular report layout.

Setting this property changes the default grouping behavior from dynamic grouping based on the columns present in the view, to a fixed grouping behavior that summarizes based on the row identifier. Changing the default grouping behavior is relevant for report layouts, such as a matrix, that would otherwise group (or show subtotals) for each column in the row.

Setting a row identifier enables the following additional properties: Keep Unique Rows property, Default Label property, and Default Image property, each of which affects field behavior in Power View.

You can also use Row Identifier by itself, as a standalone property, to enable the following:

  • Use of binary images in a report. By removing ambiguity around row uniqueness, Power View can determine how to assign default images and default labels for a given row.

  • Remove unwanted subtotals from a matrix report. Default grouping at the field level creates a subtotal for each field. If you only want a single subtotal that is calculated at the row level, setting the Row Identifier produces this result.

You cannot set a Row Identifier for tables marked as date tables. For date tables, the row identifier is specified when you mark the table. For more information, see Mark as Date Table Dialog Box.

Arrow icon used with Back to Top linkBack to Top

Setting the Keep Unique Rows property

This property allows you to specify which columns convey identity information (such as an employee name or a product code) in way that distinguishes one row from another. In cases where rows appear to be identical (such as two customers with the same name), the columns you specify for this property repeat in the report table.

Depending on which columns you add to a report, you might find rows that are treated as identical rows because the values in each row appear to be the same (for example two customers named Jon Yang). This might occur because other columns that provide differentiation (such as a middle name, address, or birth date) are not in the report view. In such a scenario, the default behavior is to group the apparently identical rows into a single row, summarizing any calculated values into a single larger result from the combined rows.

By setting the Keep Unique Rows property, you can designate one or more columns that should always repeat, even if there are duplicate instances, whenever you add that column to the report view. Calculated values associated with the row will now be allocated based on each individual row rather than rolled up to single row. When choosing columns for the Keep Unique Rows property, choose those that contain differentiating information, such as names.

Note

Because the columns the end user selects can affect the grouping, which changes the filter context for expression calculations, model designers must take care to create measures that return the correct results. For more information, see Tabular Model FAQ.

Arrow icon used with Back to Top linkBack to Top

Setting a default label

This property specifies a label that appears prominently in a card, or together with the default image in the navigation strip of a tile report. When used with a default image, the default label appears under the image. When choosing a default label, pick the column that conveys the most information about the row (for example, a name).

In the tab strip layout for a tile container, with the navigation strip across the top, the default label appears in the title area below an image, as defined by the Default Image property. For example, if you have a list of employees, you might tile employee information, using their photo ID as the default image and Employee Name as the default label. The default label column always appears under the image in the tab strip navigation of a tiles container, even if you do not explicitly select it in the report field list.

In the cover flow layout of a tile container, with the navigation across the bottom of the tiles, the default image appears without the default label.

In a card layout, the default label appears in a larger font in the title area at the top of each card. For example, if you have a list of employees, you might make cards with employee information, using their photo ID as the default image and Employee Name as the default label.

Arrow icon used with Back to Top linkBack to Top

Setting a default image

This property specifies an image that is displayed by default in the tab strip navigation of a tile report, or prominently under the default label at the left of a card. A default image should be visual content. Examples include a photo ID in the employees table, a customer logo in a customer table, or a country shape in a geography table.

Note

Images can be sourced from URL addresses to an image file on a web server, or as binary data embedded in the workbook. If the image is based on a URL, be sure to also set the column as an image type so that Power View retrieves the image rather than displaying the URL as text data in the report. For more information, see PowerPivot Window: Advanced Tab.

Optimizing for Specific Layouts

This section describes the effect of setting table behavior properties from the standpoint of a particular presentation format and characteristics of the data. If you are trying to fine tune the layout of a matrix report, for example, you can use this information to understand how to improve a matrix presentation using table behavior properties in the model.

Images are missing

Properties you set in the model determine whether images are visualized in a report, or represented as text values in the report. In the following example, images are missing from the report. Where an image should appear, the URL location of the image file appears instead. This behavior occurs because text in the model is interpreted as text in the report. You can change this behavior by setting properties on a column that contains an image URL. The property instructs Power View to use the column value as a URL rather than display it as text.

Image URLs appear as text in a report

To indicate which columns contain image URLs, set the Image URL property so that Power View retrieves the image file. For binary images, you only need to set the Row Identifier property. For more information, see Create a Reporting Services Report Using PowerPivot Data.

Arrow icon used with Back to Top linkBack to Top

Tables are missing one or more rows

Sometimes the default grouping behavior results in an outcome that is opposite of what you intended; specifically, detail rows that are present in the model do not appear in the report. By default, Power View groups on the columns you add to the view. If you add Country Name to the report, each country appears once in the view, even though the underlying table might contain thousands of rows that include multiple instances of each country name. In this case, the default grouping behavior produces the correct result.

However, consider a different example where you might want multiple instances of a row to appear, because in fact the underlying rows contain data about different entities. In this example, assume you have two customers both named Jon Yang. Using the default grouping behavior, only one instance of Jon Yang will appear in the report. Moreover, because only one instance appears in the list, the measure Annual Income is the sum of that value for both customers. In this situation, where customers who share the same name are actually different people, the default grouping behavior produces an incorrect result.

Default group consolidates 2 into 1

To change the default grouping behavior, set the Row Identifier and Keep Unique Rows properties. In Keep Unique Rows, choose the Last Name column so this value is repeated for a row, even if it already appears in a different row. After you change the properties and republish the workbook, you can create the same report, only this time you will see both customers named Jon Yang, with the Annual Income correctly allocated to each one.

Row data containing duplicates based on row ID

Arrow icon used with Back to Top linkBack to Top

Matrix layout is too crowded

When you present a detail table in a matrix, the default grouping provides a summarized value for each column. Depending on your objectives, this might be more summarizations than you want. To change this behavior, you can set Row Identifier. No additional properties need to be set; just setting row identifier is sufficient to change the grouping so that summarizations are calculated for each row based on its unique row identifier.

Compare the following before and after images that show the effect of setting this property for a matrix layout.

Before: Default grouping based on fields in matrix

Matrix layout with field level grouping

After: Grouping on row identifier

Matrix layout grouped on Row Identifier

Arrow icon used with Back to Top linkBack to Top

Chart showing too many items and levels on the axis

Chart reports that show detail data should use the row identifier as an axis. Without a row identifier, the axis is indeterminate, resulting in a best-guess layout that might not make sense. To change this behavior, you can set Row Identifier. No additional properties need to be set; just setting row identifier is sufficient to change the grouping so that summarizations are calculated for each row based on its unique row identifier.

Compare the following before and after images that show the effect of setting this property for a chart layout. It is the same report, with identical fields and presentation. The only difference is the bottom image shows a report after Row Identifier was set on the Items table.

Before: Default grouping based on fields in a chart

Chart based on default grouping at field level

After: Grouping on row identifier (row identifier becomes the axis)

Chart based on row ID grouping

Arrow icon used with Back to Top linkBack to Top

Next Steps

After you have evaluated the tables in your model and set table behavior properties on those containing detail rows that should always appear as individual items, you can further optimize the model through additional properties or settings. For more information about how to enhance the report design experience, see Create a Reporting Services Report Using PowerPivot Data.

See Also

Reference

Table Behavior Dialog Box

Concepts

Configure Default Field Set for Power View Reports

Create a Reporting Services Report Using PowerPivot Data

Hide Columns from Reporting Applications

Other Resources

Power View Reporting Properties