Forum Discussion
Helps with projection calculation
Good night.
I have the following problem Community I have the following table in which I am generating the rotation calculation, that calculation what I am generating as follows, the total casualties between the total workforce per month and year. for this example presented the reflection per month
The problem is that I only occupy the project of the month of March, instead of having 5.5% I would have to show 10.1% as a sample in the following Excel table, the dax that I am using to make the projection is the next projected rotation (Rotation / 17)*31 being 17 the number of days and 31 corresponding to the total days of the month of March.
As seen in the table. Jan and Feb only divides the casualties between the template and the month of March is only calculated the projection of the above-mentioned calculation, projected rotation (Rotation / 17)*31
This to represent a graph as follows.
if anyone knows how to make such a calculation, they'd be very assaulted.
1 Reply
- amitchandakSuper User
Syndicate_Admin , You can try a measure like
Rotation X WorkDay / Days=
Var _end = eomonth(today(),0)
var _st = eomonth(today(),-1)+1
var _totd = day(_end)
return
[Rotation] * COUNTROWS(FILTER(ADDCOLUMNS(CALENDAR(_st,_end),"WorkDay", if(WEEKDAY([Date],2) <6,1,0)),[WorkDay] =1))/_totd