The data source, which you have selected in earlier steps, may contain additional or spare data which you might not wish to show in your chart. You may wish to limit the items that appear on the chart, based on certain criteria. For example, you may wish to show sales data for a particular year from a data source which contains sales data of a decade. Filter Data page allows you to narrow down the selection of data.

To achieve this, you need to create one or multiple filters. Each filter is a criteria that you need to define under the Filter Data section.

A sample use of filters is illustrated by the image shown below:

What do you want to do?

Define and apply a filter

To define and apply a filter, follow the steps below:

  • Click Add  button to start defining a new filter. You do not need to do this for the first filter.
  • In the Select a column drop-down list, choose the name of the data column or field on which you wish to apply your filtering criteria.

For example, if you have sales data and wish to show all dues above a certain value (say, 1000) choose the column associated with dues.

Note: After selecting a column, a drop-down list, containing various filtering conditions, appears beside the column name.

  • Select filtering condition from the drop-down list.

For example, to get all the values higher than a criteria, select Greater.

NOTE: Based on the type of data value present in the selected column, the filtering conditions may vary. We will learn more of these conditions from Apply filter on numbers, Apply filter on text and Apply filter on dates sections.

  • Provide the filtering criteria or the value based on which data is to be filtered.

For example, the filter below helps in gathering all data where total due is higher than 1000.

If you select a Text type field as the filter field, the value setting provides a drop down list of available values in the selected dataset for that particular field.

Note:

  1. The same scenario is valid for Dynamic Filter window.
  2. Drop down values are only provided for Text type fields and not for any other data types.

Finally, click Apply   to confirm the filtering criteria. A table present at the bottom of the page displays the filtered data.

Manage multiple filters

You can always define and apply more than one filter. For example, you may wish to see all sales dues higher than 1000 from a single territory.

For this all you need to do:

  • Create more than one filter using the steps stated in Define and apply a filter section.
  • Group all the filters together selecting And or Or from the drop-down beside each filter.

Finally, click Apply   to confirm the filtering criteria. A table present at the bottom of the page displays the filtered data.

Delete a filter

You can always delete a filter clicking the Delete  button present at the left section of each filter definition.

Finally, click Apply   to confirm the final filtering criteria. A table present at the bottom of the page displays the filtered data.

Apply filter on numbers

You may need to to apply filter on numeric values. For example, you wish to show all sales values based on a certain criteria. For this, you need to:

  • Select a column of numeric data type.
  • Select a condition from the drop-down list. The available conditions are:
    • Equal
    • Not Equal
    • Greater
    • Greater or Equal
    • Less
    • Less or Equal
    • Is Empty
    • Is Not Empty

  • Provide the filtering value.

Finally, click Apply  to confirm the filtering criteria. A table present at the bottom of the page displays the filtered data.

Apply filter on text

You can apply filters on text values. For example, you wish to show sales figures of a single sales person (say, "Emily"). For this you need to:

  • Select a column of text data type.
  • Select a condition from the drop-down list. The available conditions are:
    • Equal
    • Not Equal
    • Contains
    • Begins With
    • Is Empty
    • Is Not Empty

  • Provide the filtering value.

Finally, click Apply   to confirm the filtering criteria. A table present at the bottom of the page displays the filtered data.

Apply filter on dates

You can apply filters on date values. For example, you can show all sales orders received on a particular date. For this you need to:

  • Select a column of date/time type.
  • Select a condition from the drop-down list. The available conditions are:
    • Equal
    • Not Equal
    • Greater
    • Greater or Equal
    • Less
    • Less or Equal
    • Is Empty
    • Is Not Empty
    • Is Between
    • Is
    • Is Previous
    • In Past (incl. today)

  • Pick or enter a date to set the filtering value.

Note:

  • To pick a date, click the date-picker button.

  • You can apply a date-range or the starting and ending dates of a time-period as a filter. For this you need to select the Is Between condition. For this condition, you are needed to pick or enter  two dates.

  • You can also quickly apply the current date, current week, current month, current quarter or current year as the filter criteria. For this you need to select the Is condition and choose a current date option from a list as shown in the image below:

  • If you select the Is Previous condition, you can specify any range of previous Days, Weeks, Months, Quarters or Years excluding current Day, Week, Month, Quarter or Year . Here are some examples assuming today is Feb 21, 2014:

    • Is Previous 4 Day(s) selects the date range Feb 17 - Feb 20, 2014, i.e., previous 4 days excluding today.
    • Is Previous 4 Months(s) selects the date range Oct 1, 2013 to Jan 31, 2014, i.e., previous 4 months excluding current one.
    • Is Previous 4 Quarter(s) selects the date range Jan 1 to Dec 31, 2013, i.e. previous 4 quarters excluding current one.

  • If you select In Past (incl. today) condition, you can specify any range of previous Days, Weeks, Months, Quarters or Years including latest available data from current Day, Week, Month, Quarter or Year. Here are some examples, assuming today is Feb 21, 2014:

    • In Past (incl. today) 4 Day(s) selects the date range Feb 17 - Feb 21, 2014, i.e., previous 4 days INCLUDING today.
    • In Past (incl. today) 4 Month(s) selects the date range Oct 1, 2013 to Feb 21, 2014. i.e., previous 4 months INCLUDING this month till today.
    • In Past (incl. today) 4 Quarter(s) selects the date range Jan 1, 2013 to Feb 21, 2014, i.e., previous 4 quarters INCLUDING this quarter till today.

Finally, click Apply   to confirm the filtering criteria. A table present at the bottom of the page displays the filtered data.

Add empty records for missing dates?

Date based filters can pick up records only for those dates which are available in the data source. This may lead to missing records for particular dates due to absence of data for this dates. For example, you are applying a filter to show sales figures of a month. It is likely that there would not be any sales record for non-business days like weekends. The resultant data skips the records for these dates.

If you wish to add empty records for the missing dates, select the Include items whose data values are empty in the filtered column(s) option.

Note: Users can also apply filters to the chart directly from the page after it is configured without using the Collabion Charts wizard. To know more click here.