Topics: |
The Upload wizard and Connect to Data wizard offer a suite of data preparation options, which are designed to help you prepare your data for future analytics. With these data preparation tools, you can assess your data for validity and consistency, troubleshoot errors, and enhance accuracy and uniformity of your data. The following sections describe these options and explain how to use them.
Topics: |
The Categorize Fields into Measures, Dimensions and Hierarchies screen, displayed in the following image, allows you to preview and modify your synonym before you upload it to the target environment.
The Categorize Fields into Measures, Dimensions and Hierarchies screen consists of two sections:
The windows allow you to preview and modify the elements of the synonym.
Topics: |
The following image shows the ribbon of the Categorize Fields into Measures, Dimensions and Hierarchies screen.
The following sections describe the groups and functions of the ribbon.
The Diagnostics group contains the Test and Tutorials buttons. You can enable the Test button to open the Session Log window, clear the session log, view the synonym being prepared in a text window, and view a list of prepared worksheets.
The options include:
Opens the Session Log window. The session log contains all of the commands that have been processed for the current upload session. Using this window, you can filter the log file, clear the log file, download the log file to your PC, refresh the log, and manage your server agents.
Deletes all content from the log file.
Opens the Master File being prepared in a text window. You can search for text within the Master File.
Opens the Access File being prepared in a text window. You can search for text within the Access File.
Opens a window that lists the prepared Worksheets and the details of each, including the date on which it was prepared, the number of rows and columns, whether there is a header row, and the names of the target application, target synonym, target table, target adapter, and target connection.
The Tutorials button opens a high-level document that outlines the main functions of the Categorize Fields into Measures, Dimensions and Hierarchies screen, as well as the basic flow of common procedures.
The Undo / Redo group contains the Undo and Redo options. You can use these options to reverse the last action you performed, or to cancel your last Undo action. For example, if you renamed a field, but do not want to save it, you can click Undo.
The Preparation group contains options that you can use to review your data and prepare it for upload. The options include:
Scans all records to determine data type for each column
Indicates how many worksheet rows are scanned to determine the formats of the columns. Set this value to 0 if you want to scan all of the worksheet rows.
Extends character length by the percentage specified.
Sets the number of rows used as a header row in the worksheet. Set the value to 0 if a header is not used.
Decomposes Date fields into Year, Quarter, Month, and Day components.
Allows you to select a format in which the Date fields appear.
Assigns geographic roles based on column name analysis.
Allows you to select a column separator from the number of available options, which include: none, comma, tab, pipe, space, semi-colon, colon, type-in delimiter. The default value is comma.
Defines whether the string in the delimiter field is a printable string or a non-printable decimal character.
Allows you to select an enclosure characters for each field from the number of available options, which include: none, single quote, double quote, space, and type-in enclosure. The default value is double quote.
Defines if the header line be used as column names.
Indicates whether the original data layout, including empty records and linefeeds, will be preserved.
Specified the code page for the stored data that will be added to the Master File of the generated synonym.
Continental Decimal Notation (CDN) determines the punctuation used in numerical notation for input data.
Displays the raw data of the file to be uploaded in the Output window.
Produces informational messages, if the uploaded file contains inconsistent data, based on the first row of data. The Error Check result is displayed in the Output window.
The Templates group contains options that you can use to create and apply a template to your selected file. The options include:
Saves the existing synonym as a template.
Invokes saved templates that you created earlier.
The Metadata group contains several data preparation options that you can use to enhance your data. This includes defining virtual fields, creating Compute and Variable fields, joining data sources, and pivoting rows of data into columns. The options include:
Opens the Expression builder, where you can create a define field.
Opens the Expression builder, where you can create a compute field.
Specifies the name of the variable.
A description of the variable that will appear in the prompt.
Specifies the default value of the variable.
Specifies optional prompt values for the variable.
If selected, this option adds single quotation marks around the variable.
Provides a drop-down menu of date formats for the variable. The options are Alpha fixed, Integer, and Decimal Packed.
Opens the Modeling View window, where you can join multiple worksheets to create a cluster.
Opens the Pivot Prepared Data dialog box, where you can pivot any repeating columns or groups of columns into rows.
The Sample Data group contains options that you can use to toggle the Autorun and Data Preview options On and Off, stop the current request, and view the Sample Data in the Output Window to instantly visualize field values.
Disables autorun in the Output Window.
Enables autorun in the Output window.
Provides access to the following options:
Disables the display of data values in the Measures/Dimensions Window.
Enables the display of data values in the Measures/Dimensions Window.
Runs the Sample Data request in the Output Window.
The Options group consists contains the View and Options functions. You can use the View button to customize the view of your Categorize Fields into Measures, Dimensions and Hierarchies screen. You can use the Options button to specify options for generating and displaying the synonym and set upload limits.
Click View to access the following options to customize your screen:
Reverts all your screen customizations to the default view.
Displays data in columns inside windows. This option is enabled by default.
Displays data in tooltips, as you hover over fields.
Displays windows on the screen in the horizontal succession. This option is enabled by default.
Displays windows on the screen in the horizontal succession.
Displays the Table/Column window on the screen.
Hides the Table/Column window from view. This option is enabled by default.
Displays the Measures/Dimensions window on the screen. This option is enabled by default.
Hides the Measures/Dimensions window from view.
Displays the Filters/Groups window on the screen.
Hides the Filters/Groups window from view. This option is enabled by default.
Undocks the Output window, so it can be moved around the screen.
Docks the Output window on the right side of the screen. This option is enabled by default.
Enlarges the Output Window to the size of the screen.
Hides the Output Window.
If this option is selected, all output requests are shown in the Output window in tabs. This option is selected by default.
If this options is selected, the single-tab Output window is reloaded to display the latest output request.
Click Options and select Advanced to select the following synonym creation options:
You can select how the column names are displayed in the Tables/Columns and Measures/Dimensions windows from one of the following choices:
Selects the functions information that displays in the Expression Builder, and on the context menu for a column, when you add a function to the synonym. Select one of the following values:
Provides options for selections in check boxes.
Describes how selected values display when you select values in a filter. Select one of the following choices:
Sets the time in seconds before the server acts on activation or deactivation of a check box. The default value is 1.5 seconds.
Provides options for generating field names and synonym references in the synonym being prepared.
Specifies when the segment name should be added to the field name in order to qualify the field name. Select one of the following values:
Specifies whether synonym references in the synonym being prepared will include the application name. Select one of the following values:
Sets the maximum number of rows of sample data displayed. The default value is 50.
Sets the maximum number of columns of sample data displayed. The default is 999999.
Sets the maximum number of identical error messages that can be generated by the wizard.
Defines the percentage for the random sample that is used for statistical analysis.
Sets the maximum number of undo and redo actions supported. The default value is 50.
The Load group contains the Load Options and Load Data items.
Click Load Options to select the following data loading options. These options may change depending on the target adapter selected.
Uploads a new worksheet to create a synonym.
Adds new data to the existing synonym without changing the structure and parameters of the synonym.
Allows you to select a database, in which the unloaded data is stored.
Specifies a connection for the selected adapter.
Specifies the application directory for the synonym. Click the ellipsis button to change this directory.
Specifies the name of the synonym, as appears in the repository. By default, the name is the same as the name of the source worksheet.
Indicates the name of the target table in the database.
Specifies the method of loading data.
Contains the name of the DFIX target data file in the database.
Allows you to select a column separator from the number of available options, which include: none, comma, tab, pipe, space, semi-colon, colon, type-in delimiter. The default value is comma.
Defines if the header line be used as column names.
Allows you to select an enclosure characters for each field from the number of available options, which include: none, single quote, double quote, space, and type-in enclosure. The default value is double quote.
Overwrites the existing synonym with the same name.
Click Load Data to upload your synonym to the repository without leaving the Upload or Connect to Data wizard. The Load Data button also brings up the Load Options dialog box, allowing to review and modify your loading parameters.
The Load and Next group the Load and Next function, which uploads your synonym to the repository and brings you to the next screen, where you can select how to use your synonym.
Topics: |
The Categorize Fields into Measures, Dimensions and Hierarchies screen contains the following windows:
The default view displays Measures/Dimensions and Output windows. You can customize the view of your screen by clicking View on the ribbon.
The Table/Column window displays the fields in the same order as they are displayed in the source file.
The Table/Column Window is shown in the following image.
The Table/Column window has the following options:
Toggles between two display options, Columns and Tables.
Opens the search field, where you can type the name of the field that you want to find and allows you to modify your search options.
Expands all nodes, folders, and hierarchies.
Collapses all nodes, folders, and hierarchies.
Opens the Choose Columns dialog box, where you can select the columns that you want to display in the Measures/Dimensions window.
Reverts the window to its default view.
Topics: |
The Measures/Dimensions window shows you how the Upload and Connect to Data wizards interpret your data and designates the data type for each field. The numeric values, such as Gross Profit or Cost of Goods, are interpreted as measures. The alphanumeric values, such as Product or Geography, become dimensions. A dimension is a way to categorize data. Dimensions can be organized into hierarchies to define the relationships between the fields in the hierarchies. For example, a Geography hierarchy can contain the Continent, Country, State, and City dimensions. You can also assign dimension attributes to any dimension field, whether or not it is in a hierarchy. When applied to a field, attributes provide supplementary information that can be used for analysis or display. For example, in a Geography hierarchy, which includes the Country, State, and City dimensions, Population can be assigned as an attribute of the City dimension. Each category of data is represented by an icon. The following table identifies these icons and describes what they represent.
Icon |
Identifies |
Description |
---|---|---|
|
Measure group |
Contains individual measures. |
|
Measure |
Measure is a numeric field. It resides inside a measure group. Measures can be moved between measure groups and between measures and dimensions areas. |
|
Dimension folder |
Contains dimensions, dimension hierarchies, and attributes. |
|
Dimension Hierarchy |
Resides inside the dimension folder and contains individual dimensions and associated attributes. |
|
Dimension |
Dimension is an alphanumeric field. It resides inside the dimension hierarchies. Dimensions can be moved between dimension folders, between and outside dimension hierarchies. You can move a dimension into a measure group and turn it into a measure. You can also move a dimension inside an attribute folder and turn it into an attribute. |
|
Attribute folder |
Contains individual attributes associated with a dimension. |
|
Attribute |
Resides inside an attribute folder. Attributes can be moved between attribute folders. If you move an attribute outside an attribute folder, it inherits the identity of a hierarchical level to which it is moved. |
The Measures/Dimensions window is displayed in the following image.
The Measures/Dimensions window has the following options:
Eliminates all changes and reverts the view back to the initial categorization of measures and dimensions.
Removes dimension hierarchies and displays individual dimensions under the Dimensions folder.
Hides all fields from the view.
Note: When a field is hidden, it is moved to the Table/Column window.
Opens the search field, where you can type the name of the field that you want to find and allows you to modify your search options. Any occurrence of the search string found in the window is highlighted.
Expands all nodes, folders, and hierarchies.
Collapses all nodes, folders, and hierarchies.
Opens the Choose Columns dialog box, where you can select the columns that you want to display in the Measures/Dimensions window.
Reverts the window to its default view.
Each node in the Measures/Dimensions window opens a context-sensitive shortcut menu that can be used to insert and modify fields, view sample data, perform statistical analysis and data preparation techniques. You can access these options by right-clicking each level. These context menu options are conditional and depend on the type of an element and its place in the synonym structure. The following list identifies the context menu options for measure group folders, measure groups, measures, dimensions node, dimension folders, dimensions, hierarchies, and attributes.
Depending on the context, provides access to the following options:
Creates a new measure group inside this Measure Group folder.
Creates a new dimension folder inside the Dimensions node.
Opens the Create a Parent/Child Hierarchy dialog box, where you can create a new hierarchy.
Creates a new level hierarchy inside this dimension folder.
Opens the Filters/Groups window, where you can create or modify a filter.
Provides a choice of preconfigured character functions that open in the Function Assist for New Define dialog box.
Provides a choice of preconfigured numeric functions that open in the Function Assist for New Define dialog box.
Opens the Define dialog box, where you configure a new function.
Opens the Filters/Groups window, where you can configure group values.
Opens the Binning wizard, where you can configure a numeric group.
Provides a choice of preconfigured aggregation functions that open in the Function Assist for New Compute dialog box.
Provides a choice of preconfigured analytic functions that open in the Function Assist for New Compute dialog box.
Opens the Compute dialog box, where you can a compute field using advanced aggregation options.
Opens the Properties dialog box. For more information, see Using the Properties Dialog Box.
Opens the Pivot Prepared Data dialog box, where you can pivot any repeating columns or groups of columns into rows.
Opens the Set Geographic Role dialog box, where you can configure a geographic role for the field.
Transforms the dimension into a hierarchy. This option is only available for standalone dimensions.
Removes a hierarchy and displays all the items inside this hierarchy as individual dimensions.
Removes the field from a hierarchy. This option is only available for the dimensions that are part of a hierarchy.
Toggles between displaying or hiding attributes for the field.
Displays the sample data for all the measure groups inside this measure group folder in the Output window.
Displays the data for this field in a map, which runs in the Output window.
Displays statistic analysis of the field in the Output window.
Displays the values for this field for the selected number of rows in the Output window.
Displays the duplicate values for this field for the selected number of rows in the Output window.
Displays the values for the field in a bar chart in the Output window. The chart is limited to 50 values.
Displays the values for the field in a pie chart in the Output window.
Displays the impact analysis results in the Output window.
Opens the Rename dialog box where you can rename the field.
Moves the field to the Table/Column window.
Cuts the field from its directory.
Pastes an item inside the directory.
You can use the Properties dialog box to change settings for your data, such as appearance, formatting, data descriptions, and others. The options in this dialog box change depending on the type of data you are editing. An example of the Properties dialog box is shown in the following image.
The Properties dialog box is organized into various groups, as described below.
Codepage Group
Contains properties for a codepage.
Defines the code language used in the synonym.
Dimension Group
Contains properties for a dimension.
Displays the name of the dimension folder.
Shows the number of measures that currently reside inside a measure group.
Displays the number of hierarchies that currently reside inside a dimension folder.
Displays the number of user defined attributes that currently reside inside a dimension folder.
General Group
Contains general properties that can be applied to various elements.
Indicates the name that is used to reference this data element in the request.
Specifies the name of the field, as it appears in the synonym.
If selected, allows null values to be entered into and read from a field in data sources that support null data.
Specifies an alternative report column title for the field.
Describes the type and length of data as it is stored in the data source.
Allows you to select a data type for this field, as it is stored in the data source.
Describes the length of data as it is stored in the data source.
Describes how to format a field when displaying it in a report or using it in a calculation.
Allows you to select a data type for this field, as it is displayed in a report or used it in a calculation.
Describes the length of data as it is displayed in a report or used it in a calculation.
Specifies the number of digits that follow the decimal point.
Displays options for this field.
Allows you to select a format in which negative numbers are displayed.
Allows you to choose whether large numbers are displayed with a comma.
If selected, adds leading zeroes to a number.
Specifies whether to display the blank field, if the data value is zero.
For the percentage values, toggles between displaying a percentage sign only, or calculating the percentage value and displaying a percentage sign.
If selected, only significant digits are displayed.
Provides access to various currency formats in a drop-down list.
Designates a value that represents a number of units in a specific type of currency.
Identifies the type of data source associated with this description.
Defines the name of the focexec that will be executed before request containing MFD.
Defines the default century for handling cross-century dates.
Defines the year threshold for handling cross-century dates.
Allows you to add notes and descriptive information about the data source.
Specifies a path to the data source.
Specifies how to read the data file in the absence of LRECL/RECFM information from a FILEDEF or allocation.
Specifies byte order.
Hierarchy Group
Contains properties for a hierarchy.
Displays the name of the dimension folder.
Specifies the structure of the hierarchy. The options are: levels and parent/child.
Displays a number of levels inside a levels hierarchy or a number of elements inside a parent/child hierarchy.
Miscellaneous Group
Contains supplemental properties. All properties in the Miscellaneous group are disabled by default.
Creates an attribute for comments and remarks within a field.
Creates an attribute that can be used to populate an auto-prompt dialogue box or to validate data as it is entered into a field from a MODIFY procedure.
Indicates the place of the field in the hierarchy of the Master File.
Shows field attributes, such as physical parent/child relationships among the elements in the file.
Specifies a physical name of the data source or alternate index.
Specifies the type of the field.
If selected, the field is displayed as an index field.
If selected, the field is displayed as a read-only field.
Specifies access options for the field's data.
If selected, the field does not appear in the list of available fields or Sample Data.
If selected, the field requires a value to access the data.
Allows you to set a selection parameter. The choices are: value, range, and multiple values.
Allows you to add a help message to the field.
Defines a geographic role of the field.
Specifies a temporal property of the field.
Allows you to select a style for the field.
When enabled, includes the base file DV information.
The Filters/Groups window automatically opens when you create a new filter or group. When you open two or more items at the same time, they display nested in the same window, as shown in the following image.
Depending on the field type, the Filters/Groups window displays the following options:
Opens the search field, where you can type the name of the field that you want to find and allows you to modify your search options.
Maximizes the section of the window.
Provides access to the following options for filters:
Determines a display format for the filter. The options include: text box, double list, check-box list, pull-down list, and slider. The default option is slider for Numeric fields and check box for all other fields.
Creates a relational expression. The options include: EQ, NE, LT, GT, LE, GE, and Range. The default value is Range for Numeric and EQ for all other fields.
Toggles between showing and hiding the NULL values for this field.
Removes filter data from the Filters/Groups window, while leaving the window open.
Deletes the filter from the synonym.
Opens the Filter properties dialog box, where you can change the Title for the filter, and view its Name and Base field name properties.
Moves the filter up in the Filters/Groups window.
Moves the filter down in the Filters/Groups window.
Provides access to the following options for groups:
Determines a display format for the group. The options are: Double List and Single List. The default value is Single List.
Selects all values and adds them to a new group.
Creates a new empty group, to which you can add values manually.
Opens the Edit properties dialog box, where you can edit the Name, Title, and Default Value properties.
Removes the group data from the Filters/Groups window.
Moves the group up in the Filters/Groups window.
Moves the group down in the Filters/Groups window.
Additionally, if the list of values spans through multiple pages, you can increase or decrease the number of values displayed on each page by clicking the Increase Page Size or Decrease Page Size buttons, as shown in the following image. You can use the First Page, Previous Page, Next Page, and Last Page buttons to navigate between pages.
The Output window displays data and status messages for various features. The Output window is shown in the following image.
The Output window has the following options:
Opens the search field, where you can type the name of the field that you want to find and allows you to modify your search options.
Expands all nodes, folders, and hierarchies.
Collapses all nodes, folders, and hierarchies.
Opens the Choose Columns dialog box, where you can select the columns that you want to display in the Measures/Dimensions window.
Reverts the window to its default view.
If more than one tab is open, you can right-click a tab to access the tab menu, as shown in the following image. The menu allows you to close all other tabs, close tabs to the right, or show only the latest tab.
How to: |
When you need to add more tables to your synonym, you can use the Join feature to create a cluster. This allows you to enhance the structure of your synonym by introducing more data.
The Modeling View dialog box opens.
The Insert Child dialog box opens.
The completed cluster displays in the Modeling View dialog box, as shown in the following image.
The new columns are added to the Table/Column window.
Related Information:
How to: |
Some Excel spreadsheets may contain repeating columns, such as sales figures for a series of years. There may even be repeating column groups, such as both budget and actual figures for a series of years. You can use the pivot option to transform these columns or groups of columns into rows.
The Pivot Prepared Data dialog box opens.
An example of the completed configuration for pivoting columns is shown in the following image.
The repeating columns now display as rows. The Pivot button turned into the Remove Pivot button, allowing you to quickly revert your pivoting changes.
Related Information:
The Pivot Prepared Data dialog box opens.
An example of the completed configuration for pivoting groups of columns is shown in the following image.
The repeating groups of columns now display as rows. The Pivot button turned into the Remove Pivot button, allowing you to quickly revert your pivoting changes.
Related Information:
How to: |
When you upload a data file, the wizard creates dimension hierarchies automatically, based on name pattern-matching and date-time analysis. Optionally, you can create additional hierarchies to organize individual columns, enable drill-downs in your data, and add more flexibility to your synonym.
The Hierarchy1 is added to the dimension folder.
The Rename dialog box opens.
Note: You can also turn an existing dimension into a dimension hierarchy. To do so, right-click the dimension, and then click Create Hierarchy.
The Save As dialog box opens.
Allows you to create a report, chart, document, or visualization with your new Master File.
Closes the Connect to Data wizard.
Related Information:
WebFOCUS | |
Feedback |