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