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
jasonyeung87
Helper V
Helper V

How to get a sum of a measure

Hi,

 

I created a measure which calculates a percentage utilization. The measure is below:

Utilization Percent = (
SUM('Resource Utilization'[Billable Hours])
/
(
IF(
CALCULATE( SUM('Resource Utilization'[Work Week Hours]) ) = BLANK(),
0,
CALCULATE( SUM('Resource Utilization'[Work Week Hours]) )
) -
IF(
CALCULATE( SUM('Resource Utilization'[Time off Hours]) ) = BLANK(),
0,
CALCULATE ( SUM('Resource Utilization'[Time off Hours]) )
) -
IF(
CALCULATE( SUM('Resource Utilization'[Holiday Hours]) ) = BLANK(),
0,
CALCULATE ( SUM('Resource Utilization'[Holiday Hours]) )
)
)
) * 100

I want to create another measure, which calculates the sum of the above measure. I was wondering is there a way to create this measure? I tried a few scenarios with SUM and SUMX, but I either get an incorrect SUM amount or I get a syntax error.

 

Jason

 

1 ACCEPTED SOLUTION

Hi @ryan_mayu ,

 

I was able to figure out how to do this. What I did is the following:

 

Sum Utilization = SUMX(VALUES('Resource Utilization'[Id]), [Utilization Percent])

 

It seems to work.

 

Jason

 

View solution in original post

2 REPLIES 2
ryan_mayu
Super User
Super User

@jasonyeung87 

could you pls provide the sample data and expected output?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu ,

 

I was able to figure out how to do this. What I did is the following:

 

Sum Utilization = SUMX(VALUES('Resource Utilization'[Id]), [Utilization Percent])

 

It seems to work.

 

Jason

 

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