English Qlik NPrinting June 2017

Creating PixelPerfect reports with a level

You can create PixelPerfect reports with a level to repeat the content of a part of the report for each value of the field or table added to the Levels node. You can add objects (images, tables, charts, and so on) in the repeated report part. In this example, you will create a report that shows a page for each year with two different charts from QlikView.

Create a new PixelPerfect report

Do the following:

  1. Select Reports in the Qlik NPrinting main menu, and then click Create report.
  2. Enter a Title for the report, for example: PixelPerfect Report with Level.
  3. Select PixelPerfect from the Type drop-down list.
  4. Select an app from the App drop-down list. For example, select Sales Demo.
  5. Click Create to create the report.
  6. Click Edit template to open the Template Editor.
  7. Right-click the Levels node, and then select Add levels.
  8. If necessary, select the Connection to the QlikView document that contains the object you want. In this case, select Sales Demo.
  9. Enter Year - F\Year in the Search box, and then select Year from the objects list.
  10. Click OK.
  11. Right-click in the Detail area.
  12. Select Insert Detail Report.
  13. Click Year_Level.
  14. Expand the Year_Level node.
  15. Drag and drop the Year field under the Levels - Year_Level node into the DetailReport - Year_Level area.
  16. Configure the text by using the Font menu in the ribbon bar.

    For example, set it to Open Sans,16px, Bold, Centered.

  17. Center the [Year] cell between the left and right margins using either:
    • the Location control under Layout in the Property Grid or;
    • the Center Horizontally control in the Layout group of the toolbar.

Add two QlikView objects as images

Do the following:

  1. Right-click the Images node, and then select Add objects.
  2. Select the Connection to the QlikView document that contains the object you want. For example, select Sales Demo.
  3. Type the number 1 in the Search field and both Top 25 Products - CH184 and Top 10 Salesmen - CH192 are visible.
  4. Select Top 25 Products - CH184 and CH319 - Top 5 Salesman from the QlikView object list by holding down the Ctrl key.
  5. Click OK to add them to the Images node.
  6. Select the bottom dotted line of the DetailReport - Year_Level area, and then move it down to obtain a more ample workspace.
  7. Drag the CH184 node token into the template, and then drop it flush with the left margin.
  8. Open the drop-down list for the Sizing attribute under Behavior in the Property Grid, and then select Auto-Size.
  9. Drag CH192 from the Images node and drop it under CH184, flush with the left margin.
  10. Once again, select Auto-Size from the drop-down list.
  11. Drag the Page Break object from the Tool Box, which is typically docked on the right side of the Template Editor, and then drop it onto the bottom of the page.

Preview and save

Do the following:

  1. Click Preview.
  2. Check the report, close it, and then edit the template again if necessary.
  3. Click Save and Close to save the template and close the Template Editor.