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
Apbiuser12
New Member

Calculate allocation percentage based on working days

Hi All,

 

I want to create a table visualization, with name of each employee and allocation percentage by month(only consider working days) and later also need to consider the holidays)

Output table with – Employeename, Month and allocation percentage à ability to slice by month.

Also, if possible, view the allocation by year or YTD

 

I have three tables in my model –

 

Dim_date – date columns

Dim employee – Name, country  and first working date,

Fact_project allocation – empname, startdate, end date , allocation perc( value from 0.1 to 1)

 

I have attached sample data for reference, please suggest.

 

Apbiuser12_0-1674686404214.png

So as an output - 

Dec Rocky 50%

Jan Rocky 100%

..

Please let me know for additional questions.

 

 

I have the sample PBIX also, Not sure how to attach the same.

 

 

1 REPLY 1
amitchandak
Super User
Super User

@Apbiuser12 , with these approach you should be able to get monthly data summed up

 

Power BI Dax Measure- Allocate data between Range: https://youtu.be/O653vwLTUzM
https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-o...

 

For work day you need measure like

 

sumx(values(Table[empName]) , calculate( networkdays(min(Date[Date]), Max(date[Date]),1) ) )

 

Power BI - Business day with and without using DAX Function NETWORKDAYS: https://www.youtube.com/watch?v=Qs03ZZXXE_c

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors