Sample chart in DataSet format

This sample illustrates the main parts of a DataSet document for a chart report.

This example is based on the sample report Public Folders > Samples > Models > GO Data Warehouse (analysis) > Reporting Report Samples > Employee Satisfaction 2012.

The REST URL to run this report and obtain the LDX output is shown here:

http://localhost/ibmcognos/bi/v1/disp/rds/reportData/path/
Public%2520Folders/Samples/Models/GO%2520Data%2520Warehouse%2520%2528analysis%2529/
Report%2520Studio%2520Report%2520Samples/Employee%2520Satisfaction%25202012
?selection=Combination Chart - survey scores and benchmark&fmt=DataSet

The HTML output of the report is shown here.

Figure 1. Chart from Employee Satisfaction 2012 report
This image displays the chart from the Employee Satisfaction 2012 report.

An abbreviated version of the pages element is shown here.

<dataSet>
  <dataTable>
    <id>Combination Chart - survey scores and benchmark</id>
    <row>
      <Survey__topic>Overall Satisfaction</Survey__topic>
      <Actual__score>Employee survey topic score</Actual__score>
      <Topic__target__score>0.722459</Topic__target__score>
      <Industry__Standard/>
      <dim5/>
      <dim6/>
      <dim7/>
    </row>
    ...
    <row>
      <Survey__topic>Overall Satisfaction</Survey__topic>
      <Actual__score/>
      <Topic__target__score/>
      <Industry__Standard>Employee survey topic target score</Industry__Standard>
      <dim5>0.740000</dim5>
      <dim6/>
      <dim7/>
    </row>
    ...
    <row>
      <Survey__topic>Overall Satisfaction</Survey__topic>
      <Actual__score/>
      <Topic__target__score/>
      <Industry__Standard/>
      <dim5/>
      <dim6>Employee survey benchmark</dim6>
      <dim7>0.730000</dim7>
    </row>
    ...
  </dataTable>
</dataSet>

This chart contains three data points for each of five rows, giving a total of 15 data points. The DataSet report output contains 15 row elements, one for each data point. The preceding code snippet displays the three data points for the first row, Overall Satisfaction.