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

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.

主站蜘蛛池模板: 丘北县| 察雅县| 新郑市| 上饶市| 盘锦市| 衡南县| 广宗县| 拉萨市| 皮山县| 大英县| 隆尧县| 来凤县| 永福县| 大关县| 古田县| 纳雍县| 诏安县| 黑山县| 绥江县| 军事| 施秉县| 遂宁市| 天津市| 巴林右旗| 安顺市| 汪清县| 灵山县| 岳西县| 观塘区| 杭锦后旗| 日照市| 高陵县| 天长市| 津市市| 射洪县| 新宁县| 崇左市| 宁强县| 华池县| 九龙城区| 从江县|