Excel转置某些JSON字段


0

我通过webhook(JSON)将数据导入Excel。它出现在Power Query Editor中,如下所示:

| name   |  groupName |  key   | value |
| host1  |   group1   |  tag1  | val1  |
| host1  |   group1   |  tag2  |       |
| host1  |   group1   |  tag3  | val3  |

如何将键+值列转置为如下所示:

| name   | groupName  | tag1   | tag2 | tag3 |
| host1  |  group1    | val1   |      | val3 |

Answers:


0

跟着这些步骤:

选择列 - 转到转换 - 选择转轴列

在此输入图像描述

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.