Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Syndicate_Admin
Administrator
Administrator

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

shadyrenato_0-1617956912645.png

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

shadyrenato_1-1617956912649.png


This to represent a graph as follows.

shadyrenato_2-1617956912652.png

if anyone knows how to make such a calculation, they'd be very assaulted.

1 REPLY 1
amitchandak
Super User
Super 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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors