Graph Data in Analyses
This topic identifies additional information for graphing data in analyses.
Topics:
Edit Graph Views
You can use graphs of various types for analyzing and displaying data.
For example, in the Brand Revenue analysis, you can edit a bar graph to compare the product revenue for three different regions, as shown below.

Description of the illustration views58.gif
Zoom and Scroll in Graphs
If zooming and scrolling has been enabled for a graph, then the graph includes a Zoom button. You can use the Zoom button to zoom in and out of a graph's plot area using its axes.
After you zoom in on an axis, you can scroll the axis. Enable zooming and scrolling with the General tab of the Graph Properties dialog.
For example, while viewing a graph in results of a Brand Revenue analysis, you can zoom in on the Product Type axis. Doing so enables you to scroll the axis and view more data by product type.
To zoom and scroll in a graph, hover the cursor over the graph to reveal the Zoom button and click Zoom. If only one axis is enabled, select Zoom In or Zoom Out.
If both axes of the graph are enabled for zooming and scrolling:
-
Select Horizontal Axis, then either Zoom In or Zoom Out.
A zoom and scroll slider is displayed on the X axis.
To unzoom the X axis, select Actual Size.
-
Select Vertical Axis, then either Zoom In or Zoom Out.
A zoom and scroll slider is displayed on the Y axis.
To unzoom the Y axis, select Actual Size.
-
To unzoom both the X and Y axes, select Actual Size.
Optionally, use other zoom features:
-
Use Zoom to zoom in and out incrementally.
-
Drag the scroll thumb on an axis to dynamically scroll the graph, revealing portions of the graph that are out of view.
-
Click the scroll buttons on an axis to scroll left and right (on the X axis), or up and down (on the Y axis).
-
Use the resize handles to zoom in and out on an axis.
Format the Visual Appearance of Graphs
You can format the visual appearance of graphs.
Formatting the visual appearance is based on two settings:
- The position of the graph elements (such as lines or bars in a line-bar graph or slices in a pie graph).
- Conditions applied to columns.
Format Graphs Based on Position
Positional formatting enables you to customize the appearance of a graph based on the position of graph elements; that is, the numeric sequence in which graph elements (for example, bars) are displayed in a group.
A group is determined by the attribute columns that are displayed in the Group By drop target area.
You can format the visual appearance of a graph based on position in terms of its color, line width, and line symbols. You can’t use positional formatting with waterfall graphs.
Format Graphs Based on Columns
Conditional formatting enables you to customize the appearance of a graph based on conditions applied to columns. The formatting is applied to the column values that meet the condition.
You can specify a color in which to display graph data based upon a specific column value, or range of column values that meet the condition specified for the column. For example:
-
Conditionally changing the color of a graph based on specific column values.
You want to create a bar graph to compare sales between two beverages, Lemonade and Cola. When creating a bar graph, you specify two conditions, one where the bar representing Lemonade sales is yellow and another where the bar representing Cola sales is blue.
-
Conditionally changing the color of a graph based on a range of column values.
A sales manager wants to create a bar graph to compare sales for all representatives across two sales bands. When creating a bar graph the sales manager specifies two conditions, one where the bar is red for all sales representatives with sales less than $250,000, and another where the bar is green for all sales representatives with sales greater than $250,000.
- Click Edit Graph Properties on the toolbar of the graph editor.
- Click the Style tab of the Graph Properties dialog.
- Click Style and Conditional Formatting.
- Click the Style Formatting tab to format the appearance of a graph based on the position of the graph elements. To add a custom formatted position:
- Click the Conditional Formatting tab to format the appearance of a graph based on a condition that is applied to columns. To add a condition to a column:
- Click Add Condition Format and select the column to which you want to apply a condition.
- Select the operator and enter a column value, or a range of column values for this condition.
- Click OK.
- To select the color to be applied to column values when the condition is met, click the down arrow next to the Color box to display the Color Selector dialog.
- Click OK.
Rules to Apply Conditional Formats in Graphs
Follow these rules when building and using conditions in graphs.
-
You can create conditions only from columns that are being used by the graph.
-
When format conditions conflict with each other, conflicting conditions are prioritized in the following order:
-
Conditional formatting on attributes.
-
Conditional formatting on measures
-
Style formatting based on the positions of graph elements.
-
-
When a user drills on a graph that has conditional formatting applied, the following rules apply:
-
A conditional format based on measures isn’t carried to the next level. (It doesn’t make sense to carry the conditional format to a different level; for example if, in a geographic hierarchy, from Region to City.)
-
A conditional format based on attributes is carried to the next graph if it hasn’t been drilled on.
For example, if you had the conditional format "Lemonade = Blue" and only drill on years, then "Lemonade = Blue" stays in place.
-
-
Conditional formatting isn’t supported on subtotals and totals for waterfall graphs.
Graph Exceptions for Conditional Formatting on Columns
This reference lists the graph exceptions that apply to conditional formatting based on columns.
Graph Type | Exception |
---|---|
Line Line-Bar Radar Time Series Line |
Only symbol formatting is allowed for the line. |
Pareto |
Formatting is applied only to the bars, not to the Pareto line. |
Limit Data Displayed in Graphs and Gauges
You can limit the data that is shown in graphs or gauges using section sliders. A section slider displays members of one or more attribute or hierarchical columns as values on a rectangular bar.
The slider also provides mechanisms to select a value for that column such as increase and decrease buttons. The play button sequentially moves through the slider values.
Topics:
Define Section Sliders in Graphs and Gauges
You can define a section slider to limit the data that is shown in a graph or gauge.
For example, you can limit the data that is shown in a graph to a specific quarter in the year 2013.
- Open the analysis for editing.
- Click the Results tab.
- Create the graph or gauge.
- Click Edit View on the graph or gauge view.
- In the Layout pane, drag columns to the Sections drop target.
- Select Display as Slider.
- Click Section properties.
- Specify the maximum number of values to display in the section slider, and then click OK.
- To close the editor, click Done.
- To save the changes, click Save Analysis.