Set the Data Source to the Sample.prj project. From the Data Source Explorer menu, select Surveillance. Click OK. On the left-hand side of the Visual Dashboard canvas, move the mouse cursor over the Defined Variables gadget or click the Variables icon in the top left of the screen. The gadget expands and becomes fully visible. Click the New Variable button. Select With Formatted Value. The Add Formatted Value dialog box appears. Figure 8.82: Add Formatted Variable dialog box Select BirthDate from the Source field drop-down list. The Destination field automatically shows the source field with a suffix of “FORMATTED” (i.e. “BirthDate_FORMATTED”). Modify the name of the Destination field as desired. Select the long date from the Format type drop-down list. Using the current system date, a sample long date value appears in the Preview field. Click OK. A description of the assignment appears in the Variable Definitions textbox within the Defined Variables gadget. To see the BirthDate_FORMATTED variable in line list view, right click on the canvas and then select Add Analysis Gadget > Line List. Select BirthDate_FORMATTED from List of Variables to display and then click OK. Figure 8.83: Formatted Variable line list The Analysis Gadget > Line List view displays the new variable created via Formatted Value. Assigned Expression Assigned Expression assigns the result of an expression or the field value to a variable as demonstrated in the example below. In the following example, the zip code field is a number. To use the zip code in a map, a new zip code variable must be defined and assigned text values. Set the Data Source to the Sample.prj project. From the Data Source Explorer menu, select Surveillance. Click OK. On the left-hand side of the Visual Dashboard canvas, move the mouse cursor over the Defined Variables gadget or click the Variables icon in the top left of the screen. The gadget expands and becomes fully visible. Click the New Variable button. Select With Assigned Expression. The Add Variable with Expression dialog box appears.
Set the Data Source to the Sample.prj project. From the Data Source Explorer menu, select Surveillance. Click OK. On the left-hand side of the Visual Dashboard canvas, move the mouse cursor over the Defined Variables gadget or click the Variables icon in the top left of the screen. The gadget expands and becomes fully visible. Click the New Variable button. Select With Formatted Value. The Add Formatted Value dialog box appears. Figure 8.82: Add Formatted Variable dialog box Select BirthDate from the Source field drop-down list. The Destination field automatically shows the source field with a suffix of “FORMATTED” (i.e. “BirthDate_FORMATTED”). Modify the name of the Destination field as desired. Select the long date from the Format type drop-down list. Using the current system date, a sample long date value appears in the Preview field. Click OK. A description of the assignment appears in the Variable Definitions textbox within the Defined Variables gadget. To see the BirthDate_FORMATTED variable in line list view, right click on the canvas and then select Add Analysis Gadget > Line List. Select BirthDate_FORMATTED from List of Variables to display and then click OK. Figure 8.83: Formatted Variable line list The Analysis Gadget > Line List view displays the new variable created via Formatted Value. Assigned Expression Assigned Expression assigns the result of an expression or the field value to a variable as demonstrated in the example below. In the following example, the zip code field is a number. To use the zip code in a map, a new zip code variable must be defined and assigned text values. Set the Data Source to the Sample.prj project. From the Data Source Explorer menu, select Surveillance. Click OK. On the left-hand side of the Visual Dashboard canvas, move the mouse cursor over the Defined Variables gadget or click the Variables icon in the top left of the screen. The gadget expands and becomes fully visible. Click the New Variable button. Select With Assigned Expression. The Add Variable with Expression dialog box appears.
8_visualdashboard.docx