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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

IF - SUM - Utilization Table

Hi Everyone,

 

In company, we are using Timesheet Application. We are taking their datas from sharepoint. 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 5......Week 53
AResearchEngineer0.990.450.380.440.22   
BResearchTechnician0.730.360.710.360.34   
CSalesService0.340.710.410.610.93   
DResearchEngineer0.460.560.390.570.65   
EResearchEngineer1.230.370.940.890.45   

 

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 4" );
SUM ( RateListBU[Week 4] )
);

)

 

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

1 REPLY 1
Stachu
Community Champion
Community Champion

are you OK with changing your data model? This problem is very easy to solve if instead of creating a Table you create a measure and use Matrix visual to display it as a table. It would require the RateListBU table to look like this (you could unpivot it in Power Query)

Personal Department Job Week Value
A Research Engineer Week 1 0.99
A Research Engineer Week 2 0.45
A Research Engineer Week 3 0.38
A Research Engineer Week 4 0.44
A Research Engineer Week 5 0.22
A Research Engineer Week 53  

 



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.