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! Learn more

Reply
Zarlot531
Helper V
Helper V

Dividing two summed "Value" fields in a matrix (simple I know but stumping me)

So here's a simple problem that for some reason isn't working for. I want to simply dvide the summzed left value by the summed right value seen below in a measure. A column will not work for me because I group this different ways, by day, month, week, etc. It needs to happen at the matrix level. I feel like this should be a simple HoursonSite / PayrollHoursworked, but the fields don't show up. What am I missing? 

 

 

Capture77.JPG

1 ACCEPTED SOLUTION
BKirsch12
Resolver II
Resolver II

The fields only show up if they are measures. Just add an additional Sum Measure for each of your two columns. Then just divide the two measures:

 

 

Hours = SUM('Query1'[HoursOnSite])

PayrollHours = SUM('Query1'[PayrollHoursWorked])

Divide = Hours / PayrollHours


 

 

View solution in original post

2 REPLIES 2
BKirsch12
Resolver II
Resolver II

The fields only show up if they are measures. Just add an additional Sum Measure for each of your two columns. Then just divide the two measures:

 

 

Hours = SUM('Query1'[HoursOnSite])

PayrollHours = SUM('Query1'[PayrollHoursWorked])

Divide = Hours / PayrollHours


 

 

Ah silly me. WOrks like a charm, thanks. 

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