在 Spotfire 中为两个已导入的表在另一个表中插入列

发布于 2025-01-16 20:36:08 字数 656 浏览 4 评论 0原文

我确信我的问题很简单。 我有两个表,每个表都有一个名为 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

月竹挽风 2025-01-23 20:36:08

好的,当在数据画布中插入列(或行)时,该选项隐藏在“其他”选项中。

Ok, the option is hidden in the "Other" option, when inserting column (or rows) in the data canva.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文