You can also right-click (Control-click on Mac) any field in the Data pane and select Create > Calculated Field. In the toolbar menu, click Analysis > Create Calculated Field. ![]() To do this, create a calculated field to capture that interval. Next, we'll size the marks according to the length of the interval between the order date and the ship date. This builds a two-level nested hierarchy of dimensions along the left axis. Drop Ship Mode to the right of Sub-Category. Individual weeks are indicated by tick marks because there are 208 weeks in a four-year span-too many to show as labels in the view.ĭrag the Sub-Category and Ship Mode dimensions to the Rows shelf. On the Columns shelf, click the Year (Order Date) drop-down arrow, and then select Week Number. ![]() Tableau aggregates the dates by year and creates column headers To create a Gantt chart that shows how many days elapse on average between order date and ship date, follow these steps:Ĭonnect to the Sample - Superstore data source.ĭrag the Order Date dimension to Columns. The basic building blocks for a gantt chart are as follows:įor more information about the Gantt bar mark type, see Gantt Bar mark. You might use a Gantt chart to display average delivery time for a range of products. In a Gantt chart, each separate mark (usually a bar) shows a duration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |