使用 REST API 从 Power bi 获取数据(不是元数据)
Get data from Power bi using REST API (not meta-data)
我已成功连接到 power bi。
当我使用路由 https://api.powerbi.com/v1.0/myorg/datasets/cfafbeb1-8037-4d0c-896e-a46fb27ff229 时,我只得到元数据,如名称、configuredBy、isRefreshable ...
{
"id": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"name": "SalesMarketing",
"addRowsAPIEnabled": false,
"configuredBy": "john@contoso.com",
"isRefreshable": true,
"isEffectiveIdentityRequired": true,
"isEffectiveIdentityRolesRequired": true,
"isOnPremGatewayRequired": false
}
如何从仪表板中现有的 table 获取数据,而不仅仅是结构,我应该使用哪条路线?可能吗?
我可以使用 json (POST) 创建一个新的 table 并获取数据作为响应吗?
谢谢,
Power BI REST API does not support reading data in datasets. You can only POST
or DELETE
rows in datasets. You can find the relevant idea here.
您可以参考 this 创建新数据集的文档。
我已成功连接到 power bi。
当我使用路由 https://api.powerbi.com/v1.0/myorg/datasets/cfafbeb1-8037-4d0c-896e-a46fb27ff229 时,我只得到元数据,如名称、configuredBy、isRefreshable ...
{
"id": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"name": "SalesMarketing",
"addRowsAPIEnabled": false,
"configuredBy": "john@contoso.com",
"isRefreshable": true,
"isEffectiveIdentityRequired": true,
"isEffectiveIdentityRolesRequired": true,
"isOnPremGatewayRequired": false
}
如何从仪表板中现有的 table 获取数据,而不仅仅是结构,我应该使用哪条路线?可能吗?
我可以使用 json (POST) 创建一个新的 table 并获取数据作为响应吗?
谢谢,
Power BI REST API does not support reading data in datasets. You can only POST
or DELETE
rows in datasets. You can find the relevant idea here.
您可以参考 this 创建新数据集的文档。