在 Spotfire 中为两个已导入的表在另一个表中插入列
我确信我的问题很简单。 我有两个表,每个表都有一个名为 ID 的列。
第一个是拥有所有 ID。 第二个是只有很少。
我想处理丢失的身份证件。 因此,如果第二个表中存在该 ID,我想在第一个表中添加一个标志。
我正在使用 Spotfire 11.4。在以前的版本中,很容易“添加列”使用分析中的表格。现在我找不到它,我必须再次导入同一个表才能进行合并。
你有什么建议吗?
表一
| ID | Country |
| -- | ------- |
| A1 | France |
| A2 | Germany |
| A3 | U.K. |
| A7 | U.S.A. |
表二
| ID |
| -- |
| A2 |
| A7 |
预期表
| ID | Country | flag |
| -- | ------- | ---- |
| A1 | France | 0 |
| A2 | Germany | 1 |
| A3 | U.K. | 0 |
| A7 | U.S.A. | 1 |
My question is, I’m sure, quite easy.
I have two table, including for each a column named ID.
The fist one is having all ID.
The second one is having only few.
I want to work on the missing ID.
Thus, I want to add a flag in my first table if this ID is present in the second table, or not.
I’m using Spotfire 11.4. In a previous version, it was easy to « add column » using a table from the analysis. Now I can’t find it, I have to import again the same table to make the merge.
Do you have any tips ?
Table I
| ID | Country |
| -- | ------- |
| A1 | France |
| A2 | Germany |
| A3 | U.K. |
| A7 | U.S.A. |
Table II
| ID |
| -- |
| A2 |
| A7 |
Expected Table
| ID | Country | flag |
| -- | ------- | ---- |
| A1 | France | 0 |
| A2 | Germany | 1 |
| A3 | U.K. | 0 |
| A7 | U.S.A. | 1 |
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,当在数据画布中插入列(或行)时,该选项隐藏在“其他”选项中。
Ok, the option is hidden in the "Other" option, when inserting column (or rows) in the data canva.