Changing the view
Supported data formats explains that the UNICOM Intelligence Data Model has two different ways (known as
views) of presenting data: hierarchical and flattened. Provided the case data format supports both views of the data or a metadata file is available, you can change the view you are using. However, it is generally preferable to use the hierarchical view whenever possible, because it enables you to create grid tables and provides better support for tabulating data collected using loops. Moreover, some hierarchical data cannot be represented in the flat view.
Generally the only reason for changing the view is when you start working with case data stored in an XML file that has been set up to use the flat format only. (Although the XML CDSC supports both views of the data, individual XML files may support only one or other of the two formats.) If you use the default hierarchical view when the case data is stored in an XML file that supports the flat format only, you will get an error when you attempt to populate a table. The error message is typically “Aggregator Error 278: Data table HDATA requested but not available”. When this happens, you need to change to use the flat view. (However, note that the UNICOM Intelligence Developer Documentation Library has a sample script that you can use to transfer the data to a new XML file that supports the hierarchical view.) From release 3.5, a hierarchical view is automatically provided using the Table Services DSC, which means that you can open any data source that has a VDATA DSC with metadata using a hierarchical (HDATA) view. Therefore, this error should no longer occur.
Remember that some hierarchical data cannot be flattened. For example, data collected using an unbounded loop cannot be flattened, because the maximum number of iterations is unknown. A lower level in a Quanvert levels project is a typical example of an unbounded loop. The flat view is therefore unsuitable for this type of data.
Note that you must change the view before you start defining your tables and filters. If have already started defining tables or filters, you will need to start a new table document before you change the view. In addition, if you have created any derived variables or categories that are based on variables at any lower levels (that is, lower than the top level), you should use the Restore Project Variables option on the File menu to restore the project's variables before changing the view.
To change the view
1 If necessary, save the existing table document and then start a new one.
2 From the main File menu, choose Properties.
3 Select the required Data View, and then click OK.
See also