Posts

Showing posts from September, 2024

Create Maps that Show a Path Over Time in Tableau

Image
  Create Maps that Show a Path Over Time in Tableau: ou can create maps in Tableau Desktop that show a path over time, similar to the example below. These types of maps are called flow maps, or path maps. Flow maps are great for when you want to show where something went over time, such as the path of a storm. This topic illustrates how to create a flow map using an example. Follow the example below to learn how to set up your data source, and build the view for a flow map. Your data source Link opens in a new window) To create a flow map, your data source should include the following types of information: Latitude and longitude coordinates for each data point in a path A column to define the order to connect the points (this can be date information, or manually applied numbers, such as 1, 2, 3, 4, 5) A unique ID for each path Enough data points to shape each path into a line For example, the following table is a snippet of the Storm data source, which is included in the  Create Flow M

Creating Sparklines

  Creating Sparklines The example uses the Superstore sample to create a sparkline that shows sales and profit for various product categories over a long period. Create the View 1.        From the  Dimensions  pane, drag  Order Date  to the  Columns  shelf 1.       On the  Columns  shelf, right-click  Order Date  and select the second instance of  Day Alternatively, if you want to view the profits over four years on a continuous axis, select the second instance of Month. 2.        From the  Dimensions  pane, drag  Category  and  Segment  to the Rows shelf 3.        From the  Measures  pane, drag  Sales  to the  Rows  shelf 4.        On the Columns shelf, right-click  Month  and uncheck  Show Header 5.        On the Rows shelf, right-click  Sales  and uncheck  Show Header Optional: Add a Text Column for a Measure 1.        Select Analysis > Create Calculated Field 2.        In the Calculated Field dialog box that opens, do the following, and then click OK: 1.