Filtering values using charts - 8.0

Talend Data Preparation User Guide

Version
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Data Preparation
Content
Data Quality and Preparation > Cleansing data
Last publication date
2024-03-26

The Chart tab shows a graphical representation of your data. It is also a quick and easy way to apply filter on your data.

According to the type of data that you select, the type of graphical representation in the tab will be different:

  • Vertical bar charts for numerical data
  • Horizontal bar charts for text data
  • US map for the two-letter US State codes
  • World map for the two-letter country codes

This example uses a dataset with typical customer information, such as their names, gender, email or the country they live in.

Procedure

  1. Select a column containing text data you want to filter, FIRST_NAME for instance.

    The horizontal bar chart showing the most common occurrences of first names is displayed in the chart tab.

  2. Click the top bar to apply a filter on the most common first name.

    The preparation now only displays the rows with this first name.

    You can also use Ctrl + Click or Shift + Click to select multiple values at the same time and apply a more complex filter.

  3. Select the ISO2_COUNTRY_CODE column.

    This time, the data is displayed in the form of a world map. The more occurrences of a country there is, the darkest this country will be on the map.

    You can alternate between the world map view and the usual bar chart view by clicking the icons on the top right of the chart tab.

  4. Click the Unites States directly on the map to add this filter to the previous one.

    The grid now only displays the data corresponding to those two filters.

  5. In the Functions panel, click a function to execute it on the data you filtered, Delete these Filtered Rows for example.
  6. In the filter bar, click the cross in each individual filter or click the garbage bin icon to clear the filters and display the whole dataset again.