Spotfire过滤器适用于数据集的所有可视化效果

时间:2019-03-27 12:46:03

标签: spotfire

我有以下格式的输入excel文件,我想以此为基础开发Spotfire可视化文件。我看到当我有不同类型的可视化时(例如条形图和饼图),我在其中一种可视化中应用的过滤器(如饼图)(filter =隐藏一种类型的Error Code的贡献​​),我看到了同样的过滤器也将应用于条形图。我如何防止这种情况的发生-我的目的是使条形图中的信息保持原样,并且在饼图中,我应该能够省略成功方案(因为如果删除成功案例,饼图看起来会更好,占95%的时间)。enter image description here

12NC            Error Code      Rev     Message
4022.636.83462  ERROR_BOM_19    AA  Item contains precise BOM View of type 'ASML_Cable'. This is not allowed.
4022.640.89121  ERROR_BOM_19    AA  Item contains precise BOM View of type 'ASML_Cable'. This is not allowed.
4022.640.99082  ERROR_BOM_19    AA  Item contains precise BOM View of type 'view'. This is not allowed.
4022.642.46621  ERROR_BOM_19    AC  Item contains precise BOM View of type 'view'. This is not allowed.
4022.646.43312  ERROR_BOM_19    AB  Item contains precise BOM View of type 'ASML_Cable'. This is not allowed.
4022.656.01171  ERROR_BOM_19    AA  Item contains precise BOM View of type 'view'. This is not allowed.
4022.657.56421  ERROR_BOM_19    AB  Item contains precise BOM View of type 'view'. This is not allowed.
4035.201.14311  ERROR_BOM_19    AB  Item contains precise BOM View of type 'view'. This is not allowed.
4035.201.14541  ERROR_BOM_19    AB  Item contains precise BOM View of type 'view'. This is not allowed.
4035.201.14551  ERROR_BOM_19    AA  Item contains precise BOM View of type 'view'. This is not allowed.
ANCI.634.36431  ERROR_BOM_19    AA  Item contains precise BOM View of type 'view'. This is not allowed.
ANCI.634.68222  ERROR_BOM_19    AA  Item contains precise BOM View of type 'view'. This is not allowed.
ANCI.646.02261  ERROR_BOM_19    AA  Item contains precise BOM View of type 'view'. This is not allowed.
TOOL.646.02261  ERROR_BOM_19    AA  Item contains precise BOM View of type 'view'. This is not allowed.
TOOL.656.05741  ERROR_BOM_19    AA  Item contains precise BOM View of type 'view'. This is not allowed.
REQS.651.79400  SKIP_04             Item is already under SAP Change Control.
REQS.656.04000  SKIP_04             Item is already under SAP Change Control.
REQS.656.26040  SKIP_04             Item is already under SAP Change Control.
REQS.656.63550  SKIP_04             Item is already under SAP Change Control.
REQS.666.33330  SKIP_04             Item is already under SAP Change Control.
4022.431.39244  SUCCESS AD          OK
4022.435.60995  SUCCESS AA          OK
4022.435.62125  SUCCESS AB          OK
4022.436.18892  SUCCESS AA          OK
4022.436.50823  SUCCESS AB          OK
4022.436.50833  SUCCESS AB          OK
4022.436.66971  SUCCESS AB          OK
4022.436.79342  SUCCESS AC          OK
4022.436.79582  SUCCESS AB          OK
4022.437.25653  SUCCESS AE          OK

1 个答案:

答案 0 :(得分:1)

最简单的方法是使用 Limit by 表达式。

  1. 右键单击您的可视化文件,然后单击属性
  2. 打开“属性”对话框的数据页面
  3. 向下滚动,直到看到按表达式限制数据,然后单击编辑... 按钮
  4. 输入[Message] != "OK"之类的布尔表达式

另一种方法是创建一个新的过滤方案并将其分配给特定的可视化文件,但是该过程并不那么简单,如果滥用它会导致混乱的用户体验。