Forum Discussion
Comparing actuals with budget
Hi,
I am having some difficulty here and wondered if the community could help!
I have actual Headcount data which includes name, vacancy etc. but critically their start and, if applicable, end date. I have also got an expanded table which takes the start and end dates and expands them. This is so as to get an historical perspective to see who was employed at a particular date and time. I get a nice timeline line graph for that.
I would like to compare this against budget. The difficulty I am finding is that the budget date on the budget spreadsheet I have has a full date (29 February 2020 for instance) and fails to match adequately to the correct start date on here. This is likely due to the fact that the budget is taken at the month end and hence would be a step function over a month by month basis rather than a day-by-day basis which the actual headcount is.
Essentially I want to be able to compare actuals vs budget but now and in the past on a chart and in visuals with the difficulty being that the dates for one are a daily basis and the dates for the other are only done at month end and do not match correctly. Not sure what I'm doing with the relationships that needs tweaking or with the data itself.
2 Replies
- amitchandakSuper User
For headcount the please refer to my blog how to deal.
for the budget, I would advise that you use a date, either month start or month-end date. Join all your data with a date calendar and analyze it together.
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/ - Greg_DecklerCommunity Champion
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490