在Power BI中格式化JSON

问题描述 投票:0回答:1

我想通过HTTP API端点在PowerBI上显示来自InfluxDB的数据。以下是我在点击网址时从Influx获得的JSON

     {
        "results": [
            {
                "statement_id": 0,
                "series": [
                    {
                        "name": "cpu",
                        "columns": [
                            "time",
                            "value"
                        ],
                        "values": [
                            [
                                "2018-09-13T11:03:57.1175792Z",
                                0.64
                            ],
                            [
                                "2018-09-13T11:09:58.2259457Z",
                                100
                            ]
                        ]
                    }
                ]
            }
        ]
    }

当我尝试在Power BI中创建表时。它显示了一行中的所有列.qazxsw poi

PS:我不能改变JSON

here is the image that i got so far

json influxdb powerbi-desktop
1个回答
0
投票

得到了Power bi社区的回答。这是enter image description here

这个是查询。

link
© www.soinside.com 2019 - 2024. All rights reserved.