Step 1:
- Filter your graph for the year "2012"
- Drag "Month" to the column shelf
- Drag "Sales" to the row shelf
Sales by Month |
- Calculate the running average of sales
- Create the following calculated field
Running Average of Monthly Sales |
- Add the calculation to the Rows Shelf
- In the Marks Card, click the triangle in the upper-right corner -> Select "Multiple Mark Types"
- Click the Right Arrow that appeared until you get to "Running Average of Monthly Sales"
- Change the Mark Type to "Line"
- Right-click the "Running Average of Monthly Sales" pill and select "Dual Axis"
- Right-click on the right axis and select "Synchronize Axis"
Sales by Month with Running Average |
Profit by Sub-Category with Pareto Line |
Brad Llewellyn
Associate Consultant
Mariner, LLC
llewellyn.wb@gmail.com
https://www.linkedin.com/in/bradllewellyn
https://www.linkedin.com/in/bradllewellyn
Are you using version 7 or 8? I do not have an option to select 'Mulitple Marks' in version 8. Is there a workaround for this>
ReplyDeleteThis was written for Tableau 7. In Tableau 8, multiple marks is actually the default. For instance, if you put two measures next to each other on the Rows Shelf, you can right-click the second one and select "Dual Axis". This will change your marks card to have multiple sections similarly to the way it worked in Tableau 7. Let me know if this helps.
DeleteThank you! This was very helpful
ReplyDelete