Filtering values using charts

Talend Data Preparation User Guide

author
Talend Documentation Team
EnrichVersion
6.4
2.1
EnrichProdName
Talend MDM Platform
Talend Real-Time Big Data Platform
Talend Data Services Platform
Talend Big Data
Talend Data Management Platform
Talend Data Fabric
Talend ESB
Talend Data Integration
Talend Big Data Platform
task
Data Quality and Preparation > Cleansing data
EnrichPlatform
Talend Data Preparation

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.