我正在尝试从一列创建两个单独的列。我的成本类型列具有实际和预测为类型
as shown in the image above, I am trying to separate actuals and forecast as columns. Is there a way to transform a table as shown in the image?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它的过滤和组合。
使用列顶上的下拉列表来过滤“实际元素”的cost_types。删除cost_types列。将金额列重命名为实际
使用列在列上下拉下拉列表以过滤“预测”的cost_types。删除cost_types列。将金额列的重命名为预测
组合两个数据集
示例代码:
替代数据结构,这对我来说更有意义:
代码:
Its filtering and combining.
Use drop down atop the column to filter cost_types for "actuals". Remove cost_types column. Rename the amount column as actuals
Use drop down atop the column to filter cost_types for "forecast". Remove cost_types column. Rename the amount column as forecast
combine the two data sets
sample code:
alternate data structure, which makes more sense to me:
code: