

In order to see how this works, you need to display the settings that allow you to position the object. Why is that important? Because it can affect the positioning of the object within the document. Object anchors are used to specify the paragraph with which an object is associated. To view object anchors, make sure the Object Anchors check box is selected.The Display options of the Word Options dialog box. Click Display at the left side of the dialog box.In Word 2010 or later versions, display the File tab of the ribbon and then click Options.) (In Word 2007 click the Office button and then click Word Options. You can change this setting by following these steps: If you want, you can modify whether Word displays object anchors or not. In other words, they are treated like any other character in the text itself. Why? Because inline objects are anchored to the place within the text where they were inserted. If you select an inline object, then there is no object anchor to see. (More on that in a moment.) If you select a graphic object in your document and you see a boat-anchor icon appear in the left margin of the document, then you know you have the display of object anchors enabled. In other words, you can control the display of the anchors.

I say "possibly" because object anchors are not always visible. An object anchor shows up as a small boat anchor. (That's a lot of "ifs," I know.) (See Figure 1.)įigure 1. If you click an object so that it is selected, and if the object is truly a floating object, and if you are looking at the document in Print Layout view, then you can possibly see the object anchor on the screen. The thing that indicates essentially where a floating object is located in relation to the text in your document is referred to as an object anchor. Floating objects are those that are placed on a layer over the text. Inline objects are those that reside on the same layer as your text and are positioned within the stream of text that surrounds the object. Name the calculated field. In the example workbook, the calculated field is named Year to Anchor Date Filter.ĭATEDIFF('year',) = 0įor a dynamic anchor date, such as last month, the parameter can be replaced with a calculated field that defines a dynamic date.Objects can be placed in your document in two ways: either inline or floating.Use the Date Control parameter control to select an anchor date.Ĭreate a parameter that allows the user to select an anchor date for a year to anchor date time range, for example the start of the year to the chosen anchor date.Right-click Order Date on Rows, and then select Discrete.


In the Calculated Field dialog box that opens, do the following, and then click OK:.Select Analysis > Create Calculated Field.Right-click the parameter and then select Show Parameter Control.Name the parameter. In the example workbook, the parameter is named Choose Anchor Date.In the Create Parameter dialog box, do the following, and then click OK:.Right-click in the Data window and then select Create Parameter.In Tableau Desktop, connect to Superstore sample data.QuestionHow to create a relative date filter with an adjustable anchor date.Ĭreate a parameter that allows the user to select an anchor date for a fixed relative time range, for example the last 3 months from the anchor date.
