如何通过Power BI Reports连接我的Web API? [英] how to connect my web api wtih Power BI Reports?
本文介绍了如何通过Power BI Reports连接我的Web API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个Web API,可以为报告提供所需的数据源。如何将Web API与Power BI连接。我经历了Rest API。但是我没有完整的流程。
I have a web API to deliver required data sources for my reports. How can I connect my web API with Power BI. I gone through Rest API. But I am missing the complete flow.
推荐答案
转到首页>编辑查询>高级编辑器。以下是一些Power Query代码,用于查询向api端点发出的GET请求。
Go to Home > Edit Queries > Advance Editor. Here is some Power Query code to query issue a GET request to an API endpoint.
let
Source = Json.Document(Web.Contents("http://mywebapi"))
in
Source
此处的更多信息: https://msdn.microsoft.com/en -us / library / mt260892.aspx
并在此处: https://blog.crossjoin.co.uk/2014/03/26/working-with-web-services- in-power-query /
这篇关于如何通过Power BI Reports连接我的Web API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文