Power Bi DAX: Setting a target per week

空扰寡人 提交于 2020-03-05 00:34:12

问题


I have encountered a problem with my data.

I had some help with this morning but it would be best to make a new question. Here is the link to the previous question: Power Bi DAX: Divide Value and set it for each week

I asked to get a weekly target from my monthly target, needed to divide my target by amount of weeks in a month, which we have figured out. Now my data is showing only for the first of every month because the column where I have put it only has the first of each month as the date column but I need the target in that table to divide the number of weeks from.

I need to spread this to the start of each week, maybe doing the formula from my calendar table, the value for each week will be the same as the weekly target that is set to the first of each month.

There are multiple people with targets so they will all total up but each has targets for every month.

Here are my calendar table and a dummy sheet that is my desired output with my actual data at the bottom.

Dummy Sheet with Actual Data

Calendar Table

来源:https://stackoverflow.com/questions/60261691/power-bi-dax-setting-a-target-per-week

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