简体   繁体   English

Spotfire-来自两个条形图的表格数据

[英]Spotfire - Data from Table filtered from two bar charts

I have two bar charts and a table 我有两个条形图和一张桌子

Fuel Economy per SC(bar chart 1) and Fuel Economy per Driver (Bar chart 2). 每个SC的燃油经济性(条形图1)和每个驾驶员的燃油经济性(条形图2)。

The relationship is when one of the bar in Fuel Economy per SC(bar chart 1) is selected, only the data having that variable(selected bar) will be displayed in the Fuel Economy per Driver (Bar chart 2). 该关系是,当选择“每个SC的燃油经济性”中的一个条形图(条形图1)时,只有具有该变量的数据(选定的条形)将显示在“每个驾驶员的燃油经济性”中(条形图2)。 When you select a bar from Fuel Economy per Driver (Bar chart 2), the data for that field will be displayed in the table. 当从“每个驾驶员的燃油经济性”中选择一个条形图(条形图2)时,该字段的数据将显示在表格中。

So, the selection will be Fuel Economy per SC(bar chart 1) ==> Fuel Economy per Driver (Bar chart 2) ==> Table 因此,选择将为每个SC的燃油经济性(条形图1)==>每个驾驶员的燃油经济性(条形图2)==>表

I have done this using Markers. 我已经使用标记完成了此操作。 (Limit data using Markings) (使用标记限制数据)

I want the Table to display the data for Fuel Economy per SC(bar chart 1) first when selected any bar, then display the data for Fuel Economy per Driver (Bar chart 2) upon selection of any bar in that graph. 我希望表格在选择任何条形时首先显示每个SC的燃油经济性数据(条形图1),然后在该图中选择任何条形时显示每个驾驶员的燃料经济性数据(条形图2)。

I tried adding the two markers in Limit data using Markings, but it is not working. 我尝试使用“标记”将两个标记添加到“限制数据”中,但是它不起作用。 It is showing the data for Bar Chart 1 but not bar chart 2 .. 它显示的是条形图1的数据,而不是条形图2的数据。

How can you add two filters(coming from two bar graphs) on my table ? 如何在我的桌子上添加两个过滤器(来自两个条形图)?

Your current set up should be fine. 您当前的设置应该可以。 You likely have your markings backwards and created them manually. 您可能会将标记向后移动,并手动创建它们。 It's much easier to right click on your Fuel Economy per SC chart and select "Create Details Visualization". 右键单击每个SC图表的燃油经济性,然后选择“创建详细信息可视化”,这要容易得多。 This will automatically apply the marking names, and select the correct limit data using markings selection. 这将自动应用标记名称,并使用标记选择来选择正确的极限数据。 But, to explicitly do this, you need the following set up. 但是,要明确地执行此操作,您需要进行以下设置。

Fuel Economy per SC Marking 符合SC标志的燃油经济性

  • Marking: Marking(1) or what ever you want to name it 标记:标记(1)或您要命名的名称
  • Limit data using markings: Nothing checked 使用标记限制数据:未检查任何内容

Fuel Economy per Driver 每位驾驶员的燃油经济性

  • Marking: Marking(2) or what ever you want to name it 标记:标记(2)或您要命名的名称
  • Limit data using markings: Check / Select the marking name from Fuel Economy per SC Marking chart 使用标记限制数据:根据SC标记表从“燃油经济性”中检查/选择标记名称

Table

  • Marking: None, unless you want one for highlighting purposes / details on demand 标记:无,除非您想要一个用于突出显示目的/按需提供详细信息
  • Limit data using markings: Check / Select the marking name from Fuel Economy per SC Marking chart and the Fuel Economy per Driver chart 使用标记限制数据:从“每个SC标记的燃油经济性”图表 “每个驾驶员的燃油经济性”图表中检查/选择标记名称

Note, this assumes they all use the same data table, or properly related data. 注意,这假定它们都使用相同的数据表或正确相关的数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM