简体   繁体   English

Power BI单个数据源多个表

[英]Power BI single data source multiple tables

I am making a Power BI dashboard (via Power BI Desktop) for my team to show some key metrics of our project board. 我正在为我的团队制作Power BI仪表板(通过Power BI Desktop),以显示我们项目委员会的一些关键指标。 The data source is a JSON data from the JIRA REST API, and within the data contains everything that I need: 数据源是来自JIRA REST API的JSON数据,并且数据中包含我需要的一切:

{
    ...
    "issues": [
        ...
        "fields": {
            ...
            "worklog": {
                ...
                "worklogs": [
                    ...
                ]
            }
        },
        "changelog": {
            ...
            "histories": [
                ...
            ]
        }
    ]
}

From it, I would like to have multiple tables transformed from the same data source, eg one for all the issues, and another one for the worklog. 从中,我想从同一个数据源转换多个表,例如,一个用于所有问题,另一个用于工作日志。 Since the worklog is scattered at the issue level, I would like to transform it so that it is just worklog, but without attempting to call the HTTP GET again. 由于工作日志分散在问题级别,因此我希望对其进行转换,使其成为工作日志,但无需尝试再次调用HTTP GET。

I have yet to find any resource talking about this operation. 我尚未找到有关此操作的任何资源。 Am I on the right track considering single data source and multiple table, and if this is the right track, could anyone please point to any resource demonstrating this capability? 我是否在考虑单个数据源和多个表的正确轨道上?如果这是正确的轨道,那么有人可以指出任何表明该功能的资源吗?

Thank you very much in advance. 提前非常感谢您。

You can reference queries. 您可以引用查询。 That way you can have multiple queries building on top of another existing query (issues and work log in your case). 这样,您可以在另一个现有查询(案例中的问题和工作日志)的基础上构建多个查询。 I believe Power BI is clever enough to refresh the original data source only once when refreshing a report. 我相信Power BI足够聪明,在刷新报表时仅刷新一次原始数据源。

引用Power BI Desktop中的表

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM