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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
fjjpeeters1976
Helper III
Helper III

Multiplying rate with hours

Hi, 

I need help with the following. I am probably thinking to complicated.

I have a big database with total costs and hours worked by country. Based on this I calculate the costs per project hour (filtered on year), so outcome for one year is as following

 

fjjpeeters1976_0-1701787806270.png

 

In the same table I have a split for which business unit each country has worked for. So for example Finland worked 70 hours for BU A, 30 for BU B and 80 for BU C

fjjpeeters1976_1-1701787941594.png

Now I want to multiply the rates per country by the hours to get the following table. However I do not know exactly how to do this. Rates are based on countries and not on business units.

fjjpeeters1976_2-1701788095115.png

Any suggestions?

 

BR,

 

Frank

 

 

1 ACCEPTED SOLUTION
some_bih
Super User
Super User

Hi @fjjpeeters1976 I created little file with some example data. Please check if it is good example for your case and desribe desired output. 





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

Proud to be a Super User!






View solution in original post

4 REPLIES 4
fjjpeeters1976
Helper III
Helper III

thanks for the help. sorry for my late reply

some_bih
Super User
Super User

Hi @fjjpeeters1976 I created little file with some example data. Please check if it is good example for your case and desribe desired output. 





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

Proud to be a Super User!






some_bih
Super User
Super User

Hi @fjjpeeters1976 possible solution depend how you organized your table inputs.

How your inputs tables look like? We see two pictures.





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

Proud to be a Super User!






Basically I have 4 tables, one is a table with cost data from an ERP system, one other table is an hour report from a project management tool. I have another time table for all the days, months, years and I have one table which basically is just linking the cost and hour table based on countries (germany, finland, sweden). So with a filter on the year I have calculated the total cost by country dividing by the total projects hours by country. This gives me an hourly rate per country per year. So this hourly rate I would now want to multiply with the hours spend for each business unit.

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.