Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content Skip to complementary content

The second sheet: Product Details

In the second sheet you will make a bar chart and treemap that focus on products. Then you will add filter panes so you can filter by date and region.

video thumbnail

Product Details sheet when finished

Product Details sheet when finished.

You will complete all work in editing mode.

Adding the bar chart

The next visualization is a bar chart showing the Top Sales.

  1. In the assets panel, open Charts.

  2. Under Visualizations, drag a bar chart to the sheet.

  3. Go to Fields and add Sales and Margin as measures to the chart.

    The treemap will be created on the sheet.

  4. Under Presentation > Labels, toggle on Show value labels check box.

Adding the treemap

Treemaps display hierarchical data by using nested rectangles. Use a treemap when space is constrained and you have a large amount of hierarchical data that you need to get an overview of. Treemaps should primarily be used with values that can be aggregated.

For more information, see Treemap.

In this treemap you will create a product hierarchy.

  1. In the assets panel, open Charts.
  2. Under Visualizations, drag a treemap to the area below the bar chart.
  3. Go to Fields and add Product Group, Product Type, and Item Desc as dimensions to the treemap.

  4. Add Sales as a measure. The treemap will be created.

  5. Click on the + icon at the top and add the title:  Product Treemap.

Customizing your charts in edit mode

Now that all the visualizations have been created, they can be customized.

Customizing the bar chart

  1. Select the bar chart.

  2. Go to Sorting. Order your dimensions and measures like this:

    1. Sum(Sales)

    2. Sum(Margin)

    3. Product Group

  3. Click Sum(Sales). Set Sorting from Auto to Custom. Select Sort numerically.

    Your bar chart is now ordered from best selling to worse selling.

  4. You can add expressions in chart titles. Go to Appearance > General. Find Title, and click on Expression.

    The expression editor opens.

  5. This expression will resolve to show total sales:

    ='Total Sales: $'& Round(Sum(Sales)/1000000, 0.1) & 'M'

Customizing the treemap

  1. Select the treemap.

  2. Under Appearance > Colors and legend, set Colors from Auto to Custom.

  3. Select By measure in the list.

Adding the filter panes

The purpose of the filter panes is to filter out a limited data set, which you can analyze and explore.

For more information, see Filter pane.

You will now reuse the Period filter pane and the Region filter pane that you saved as master items.

  1. Resize the bar chart and treemap so that there is space on the left for two filter panes.

  2. In the assets panel, click Linked Object to open Master items.

  3. Click Visualizations.

  4. Drag the filter pane Period to the sheet and resize it.

  5. Drag the filter pane Region to the area below Period and resize it.

This sheet is complete. In the assets panel, click Sheets and select Customer Details to move to that sheet.

Learn more

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!