Average Power BI Aggregates

人盡茶涼 提交于 2019-12-12 02:14:05

问题


I have entries that are uniquely identified by a variety of fields and that I pull in from Excel. Entries relate to the daily amount of work done, and people working on a specific area of a plant. Each entry has a work done field (measurement of the work done on that area), and a manpower count. The productivity per area is calculated by work done divided by manpower.

Date          Area    Work Done    Manpower    Productivity
2017/02/01    Pipe    50           25          2
2017/02/01    Valve   22           2           11
2017/02/01    Machine 54           2           22

I want to display the work done and manpower as bars in power BI, and the average productivity per day as a line. The problem is that the real productivity for the day (total work done divided by total manpower) is not the average of the individual productivity per area. Thus, I want to be able to create a line that total work done and manpower per day, and divides them to get the productivity, then only displays the productivity.

How can I do this in power BI?

来源:https://stackoverflow.com/questions/42364341/average-power-bi-aggregates

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!