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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Utilization by Department

Hi Everyone,

In company, we are using Timesheet Application. We are taking their datas from sharepoint. And visualizing them at Power BI. So each week new datas are coming from personnal. Here I have a Calculated Table. In this table, I am measuring utilization by personnal. These are utilization of the personnal by week. However, I also need to measure them by Department. Each week measuring by itself. So it is empty, if that week didn't come.

 

PersonalDepartmentJobWeek 1Week 2Week 3Week 4Week 53
AResearchEngineer0.990.450.380.44  
BResearchTechnician0.730.360.710.36  
CSalesService0.340.710.410.61  
DResearchEngineer0.460.560.390.57  
EResearchEngineer1.230.370.940.89  


DAX is like that;


Table =
SUMMARIZE (
RateListBU;
RateListBU[Birim];RateListBU[Rol];RateListBU[Personel];
"Week 1"; DIVIDE (
CALCULATE (SUM ( TimeSheetPlusListBU[Billable Hours] ); TimeSheetPlusListBU[Period] = "Week 1");
SUM ( RateListBU[Week 1] )
);
"Week 2"; DIVIDE (
CALCULATE (SUM ( TimeSheetPlusListBU[Billable Hours] ); TimeSheetPlusListBU[Period] = "Week 2");
SUM ( RateListBU[Week 2] )
);
"Week 3"; DIVIDE (
CALCULATE (SUM ( TimeSheetPlusListBU[Billable Hours] ); TimeSheetPlusListBU[Period] = "Week 3" );
SUM ( RateListBU[Week 3] )
);
"Week 4"; DIVIDE (
CALCULATE (SUM ( TimeSheetPlusListBU[Billable Hours] ); TimeSheetPlusListBU[Period] = "Week 4" );
SUM ( RateListBU[Week 4] )
);
.

.

"Week 53"; DIVIDE (
CALCULATE (SUM ( TimeSheetPlusListBU[Billable Hours] ); TimeSheetPlusListBU[Period] = "Week 53" );
SUM ( RateListBU[Week 53] )
);
)

With each week, new week utilization value by personnal is creating. How can I calculate utilize by departmant?

1 REPLY 1
sturlaws
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

how is your data shaped when you recieve it?

 

And how do you want do display the data? A table visual?

 

Having such a long switch statement as you have is cumbersome, and I am pretty sure it can be avoided.

 

Cheers,
Sturla

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.