SSAS表格:附加两个具有不同列数的表
我想在SSA中使用“ Union”或“贴上两个表格”的两个表格,并具有某些重叠的列名称,还有一些差异,它们会随着时间而变化。
TableA:
| ColA | ColB | ColC | ColD |
|------|------|------|------|
| 1 | 1 | 0 | 1 |
| 0 | 1 | 1 | 1 |
TableB:
| ColA | ColB | ColE |
|------|------|------|
| 1 | 1 | 0 |
| 0 | 1 | 1 |
Expected Result:
| ColA | ColB | ColC | ColD | ColE |
|------|------|------|------|------|
| 1 | 1 | 0 | 1 | |
| 0 | 1 | 1 | 1 | |
| 1 | 1 | | | 0 |
| 0 | 1 | | | 1 |
SSA是否可以选择实现这一目标?
亲切的问候, 伊戈尔
I'd like to ´UNION´ or ´Append´ two tables in SSAS with certain overlapping Column names, and some differences as well, which changes over time.
TableA:
| ColA | ColB | ColC | ColD |
|------|------|------|------|
| 1 | 1 | 0 | 1 |
| 0 | 1 | 1 | 1 |
TableB:
| ColA | ColB | ColE |
|------|------|------|
| 1 | 1 | 0 |
| 0 | 1 | 1 |
Expected Result:
| ColA | ColB | ColC | ColD | ColE |
|------|------|------|------|------|
| 1 | 1 | 0 | 1 | |
| 0 | 1 | 1 | 1 | |
| 1 | 1 | | | 0 |
| 0 | 1 | | | 1 |
Is there an option in SSAS to make this happen?
Kind regards,
Igor
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最简单的方法是在电源查询中使用附加功能。参见 https://learn.microsoft.com/en-en-us/power -query/append-queries
在m中,它是
table.com.bine
。参见 https://learn.microsoft.com/en-en-en-us/powerquery -m/table-combineThe easiest way is to use the Append function in Power Query. See https://learn.microsoft.com/en-us/power-query/append-queries
In M, it is a
Table.Combine
. See https://learn.microsoft.com/en-us/powerquery-m/table-combine