Escolar Documentos
Profissional Documentos
Cultura Documentos
Hierarchies
Tables can include dozens or even hundreds of columns. Because of
this, client users might have difficulties finding and including data in a
report. The client user can add the entire hierarchy (consisting of
multiple columns) to a report in only one click. Hierarchies can also
provide a simple, intuitive view of the columns. For example, in a Date
table, we can create a Calendar hierarchy. Calendar Year is used as the
top-most parent node, with Quarter, Month, and Day included as child
nodes (Calendar Year->Quarter>Month->Day). This hierarchy shows a
logical relationship from Calendar Year to Day.
Hierarchies can be included in perspectives. Perspectives define
viewable subsets of a model that provide focused, business-specific, or
application-specific viewpoints of the model. A perspective, for example,
could provide users a hierarchy of only those data items necessary for
their specific reporting requirements.
Create a Hierarchy
We can create a hierarchy by using the columns and table context
menu or by using the Create Hierarchy button on the table header in the
Diagram View. When we create a hierarchy, a new parent node appears
with the columns we selected as child nodes.
When we create a hierarchy, we create a new object in model. We
do not move the columns into a hierarchy; we create additional objects. A
single column can be added to multiple hierarchies.
Edit a Hierarchy
We can rename a hierarchy, rename a child node, change the order
of the child nodes, add additional columns as child nodes, remove a child
node from a hierarchy, show the source name of a child node (the column
name), and hide a child node if it has the same name as the hierarchy
parent node.
Delete a Hierarchy
If we want to delete a hierarchy at some point, follow these steps.
1. To delete a hierarchy and remove its child nodes
2. While still in Diagram View, right-click the parent hierarchy
node, Hierarchy Example 2, and then click Delete. (Or, we can click
the parent hierarchy node and then press Delete.) Deleting the
hierarchy also removes all the child nodes.
3. Click Delete from Model in the dialog box to confirm the action.
Add a PivotTable
Always create PivotTables from the PowerPivot window or the
PowerPivot tab in the Excel window. There is also a PivotTable button on
the Insert tab in the Excel window, but standard Excel PivotTables cannot
access PowerPivot data.
Delete a PivotTable
If we want to delete a table at some point, follow these steps.
1. Click inside the PivotTable.
2. In the PivotTable Tools tab, select Options.