官术网_书友最值得收藏!

Using filters

Spotfire's inbuilt filters offer a very powerful and immediate way to start analyzing your data. Every time you add a data table to an analysis file, Spotfire creates a filter for each column. Just reflect on this for a minute: if we are going to try to filter or screen our data in some way, we have to do so on the basis of the values in one or more of the data table's columns. That is why a filter always corresponds to a table column and its values to whatever data currently populates that column through the rows in the table.

You can access filters from the data panel (by clicking the button on the left-hand side of the Spotfire window) or the filters panel. The filters panel shows all current filters and their current settings. You can show and hide the filters panel from the View menu (View | Filters) or by clicking on the filtering icon on the toolbar. The following example will use the data panel, but it’s just as valid to use the filter panel:

  1. As we mentioned previously, the data panel is divided into numbers and categories. If we had date or time columns, location, identity, or other types of columns, these would be categorized as such.
  2. Let's filter to first-class passengers only. Locate the pclass column and click on it to highlight it. You'll notice that a funnel icon will be shown:
  3. Click the funnel—you'll see a pop-out filter appear, so unselect pclass 2 and 3. Watch how the visualizations change as you do this—they'll all update together as they are showing the same data:
  4. Let's look at how this leads to fresh insights. Select all the females in a main visualization chart—the histogram should look like this:
  1. Look at that! If you were a first-class female passenger, you were almost guaranteed to survive.
  2. Reset the filters by clicking the Reset all filters button at the bottom of the data panel. Feel free to play with the other filters in the meantime to see how they affect the data:

An important point to stress at this juncture is that we haven't removed any data from the underlying table. Our visualizations have changed and "lost" some rows, but as you saw, when you reset the filtering, the visualizations adjusted dynamically and displayed all the data.

主站蜘蛛池模板: 乌拉特后旗| 商丘市| 广南县| 大姚县| 乌拉特后旗| 周宁县| 南平市| 澳门| 蒲城县| 济源市| 明溪县| 巴彦淖尔市| 林西县| 蓬溪县| 昌吉市| 长兴县| 故城县| 高邮市| 荥经县| 遂川县| 台东市| 太康县| 电白县| 江源县| 赣榆县| 乡宁县| 东丽区| 蓝田县| 凤庆县| 河南省| 普兰县| 调兵山市| 海南省| 博客| 合肥市| 旬邑县| 河南省| 抚宁县| 凉城县| 阿图什市| 嫩江县|