Upload
pavanreddyreddy
View
216
Download
0
Embed Size (px)
Citation preview
8/9/2019 Using Multiple Measures
1/9
Using Multiple Measures
There are lots of different ways to compare multiple measures in a single view. For example,you can create individual axes for each measure or you can blend the two measures to sharean axis and finally, you can add dual axes where there are two independent axes layered in thesame pane. In any of these cases you can customize the marks for each axis to use multiple
mark types and add different levels of detail. Views that have customized marks are calledcombination charts.Individual Axes
Blended Axes
Dual Axes
Combination Charts
Individual xes
dd individual axes for each measure by dragging measures to the !ows and "olumns shelves.#ach measure on the !ows shelf adds an additional axis to the rows of the table. #ach measure
on the "olumns shelf adds an additional axis to the columns of the table. For example, the view
below shows $uarterly sales and profit. The %ales and &rofit axes are individual rows in the
table and have independent scales.
http://onlinehelp.tableausoftware.com/v8.1/pro/online/en-us/multiplemeasures_individualaxes.htmlhttp://onlinehelp.tableausoftware.com/v8.1/pro/online/en-us/multiplemeasures_blendedaxes.htmlhttp://onlinehelp.tableausoftware.com/v8.1/pro/online/en-us/multiplemeasures_dualaxes.htmlhttp://onlinehelp.tableausoftware.com/v8.1/pro/online/en-us/multiplemeasures_combocharts.htmlhttp://onlinehelp.tableausoftware.com/v8.1/pro/online/en-us/multiplemeasures_blendedaxes.htmlhttp://onlinehelp.tableausoftware.com/v8.1/pro/online/en-us/multiplemeasures_dualaxes.htmlhttp://onlinehelp.tableausoftware.com/v8.1/pro/online/en-us/multiplemeasures_combocharts.htmlhttp://onlinehelp.tableausoftware.com/v8.1/pro/online/en-us/multiplemeasures_individualaxes.html8/9/2019 Using Multiple Measures
2/9
'lended xes
(easures can share a single axis so that all the marks are shown in a single pane. Instead of
adding rows and columns to the view, when you blend measures there is a single row or column
and all of the values for each measure is shown along one continuous axis. For example, the
view below shows $uarterly sales and profit on a shared axis.
8/9/2019 Using Multiple Measures
3/9
8/9/2019 Using Multiple Measures
4/9
'lending measures uses the (easure )ames and (easure Values fields, which are generated
fields that contain all of the measure names in your data source and all of the measure values.
The shared axis is created using the (easure Values field. The (easure )ames field is added
to the "olor shelf so that a line is drawn for each measure. Finally, the (easure )ames field is
filtered to only include the measures you want to blend.
'lending axes is most appropriate when comparing measures that have a similar scale and
units. If the scales of the two measures are drastically different, the trends may be distorted.
*ual xes
8/9/2019 Using Multiple Measures
5/9
+ou can compare multiple measures using dual axes, which are two independent axes that are
layered on top of each other. *ual axes are useful when you have two measures that have
different scales. To add the measure as dual axis drag the field to the right side of the view and
drop it when you see a black dashed line. +ou can also select Dual Axison the field menu for
the measure.
The result is a dual axis view where the &rofit axis corresponds to the purple line and the
%hipping "ost axis corresponds to the brown line.
8/9/2019 Using Multiple Measures
6/9
+ou can add up to four layered axes two on the "olumns shelf and two on the !ows shelf.
-hen you are using dual axes you can align the two axes up by rightclicking the dual axis andselecting Synchronize Axis.
"ombination "harts
-hen working with multiple measures in a view, you can customize the mark type for each
distinct measure. For example, you can create a view with a line showing a target amount
across several months and a bar chart showing the actual attainment for the months. These
measures can be displayed as individual axes, blended axes, or dual axes.
'ecause each measure can have customized marks, you can customize the level of detail, size,
shape, and color encoding for each measure too.
8/9/2019 Using Multiple Measures
7/9
To customize the marks for a measure:
/ %elect the (arks card for the measure that you want to customize. There is a (arks
card for each measure on the !ows and "olumns shelves.
8/9/2019 Using Multiple Measures
8/9
/ %elect a new mark type for the measure. ny changes to the mark type, shape, size,color, detail and other mark properties will be applied to the selected measure. For
example, in the view below the %0(1%ales2 (arks card is active. The (ark type has
been changed to 'ar and when *epartment is placed on "olor, the encoding and level
of detail is only applied to the %0(1%ales2 marks. The %0(1%ales &lan2 is not broken
down by *epartment.
8/9/2019 Using Multiple Measures
9/9
%elect the All(arks card to modify properties for all measures at once.