Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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.
Solved! Go to Solution.
@Syndicate_Admin , 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
@Syndicate_Admin
Not sure why you get 10.1% but you could create a if measure.
Measure = If(max([mes]="Mar", [rotacion marzo], [rotacion])
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@Syndicate_Admin , 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
User | Count |
---|---|
89 | |
72 | |
69 | |
65 | |
57 |
User | Count |
---|---|
96 | |
92 | |
91 | |
75 | |
69 |