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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
bhmiller89
Helper V
Helper V

Calculate Hourly Rate

I did this before and now completely forgot what I did.

 

I have a colum called "NTE Hours" and a column "Duration" as well as a column "NonRecurringServicesTotal Actual" which is a dollar amount.  The relationship is attached to a job number, multiple job reports are summed together to create "duration" where there is only one NTE Hours value per job number. 

 

I need to calculate theprojected hourly rate as well as the actual hourly rate

 

Projected= NonRecurringServicesTotal Actual/ NTE Hours

Actual= NonRecurringServicesTotal Actual/ Duration

 

Any assistance on how to write this out is appreciated 

1 ACCEPTED SOLUTION
v-caliao-msft
Microsoft Employee
Microsoft Employee

@bhmiller89 

Regarding how to wirte the formula depends on where you would like to use the result.

 

For example, if you would like to add the calculated results into the current table, we could write the formula in the following format:

As a calculated column:

Projected = DIVIDE(Table1[NonRecurringServicesTotal Actual], Table1[NTEhours])

ActualRate = DIVIDE(Table1[NonRecurringServicesTotal Actual], Table1[Durations])

Capture.PNG
 

See if this would help, and if any further help needed, please post back.

 

Regards,

Charlie Liao

View solution in original post

2 REPLIES 2
v-caliao-msft
Microsoft Employee
Microsoft Employee

@bhmiller89 

Regarding how to wirte the formula depends on where you would like to use the result.

 

For example, if you would like to add the calculated results into the current table, we could write the formula in the following format:

As a calculated column:

Projected = DIVIDE(Table1[NonRecurringServicesTotal Actual], Table1[NTEhours])

ActualRate = DIVIDE(Table1[NonRecurringServicesTotal Actual], Table1[Durations])

Capture.PNG
 

See if this would help, and if any further help needed, please post back.

 

Regards,

Charlie Liao

Greg_Deckler
Community Champion
Community Champion

Probably create a couple measures like:

 

Projected = SUM([NonRecurringServicesTotal Actual])/SUM([NTE Hours])

Actual = SUM([NonRecurringServicesTotal Actual])/SUM([Duration])


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.