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

How to Calculate % Billable and Non-Billable in Report

Hi,

 

I am very new to Power BI and will most likely have some future silly questions.  🙂  My first question, there is a canned Project Labor report available in our Power BI.  I have three columns for a table  (Billable Hours, Do Not Bill Hours, and Hours Actual).  All I need to do is calculate what the percent is of billable and non-billable hours for the Hours Actual and show them in two additional columns.  Is it possible to do this?  Thank you very much for your help.

 

Joe

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jkniffen ,

 

Sample data:

vstephenmsft_2-1677203784164.png

 

Percent of billable hours for the hours actual = var _billable=SUM('Table'[Billable Hours])
var _actual=SUM('Table'[Hours Actual])
return DIVIDE(_billable,_actual)
Percent of notbill hours for the hours actual = var _notbill=SUM('Table'[Do Not Bill Hours])
var _actual=SUM('Table'[Hours Actual])
return DIVIDE(_notbill,_actual)

Click "%" in the measure tool to display the percentage.

vstephenmsft_0-1677203724930.png

vstephenmsft_1-1677203772306.png

 

                                                                                                                                                         

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @jkniffen ,

 

Sample data:

vstephenmsft_2-1677203784164.png

 

Percent of billable hours for the hours actual = var _billable=SUM('Table'[Billable Hours])
var _actual=SUM('Table'[Hours Actual])
return DIVIDE(_billable,_actual)
Percent of notbill hours for the hours actual = var _notbill=SUM('Table'[Do Not Bill Hours])
var _actual=SUM('Table'[Hours Actual])
return DIVIDE(_notbill,_actual)

Click "%" in the measure tool to display the percentage.

vstephenmsft_0-1677203724930.png

vstephenmsft_1-1677203772306.png

 

                                                                                                                                                         

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

Thank you for your help Stephen!   🙂

Helpful resources

Announcements
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.

Top Solution Authors
Top Kudoed Authors