To calculate the Revenue from inception to date = I have a timesheet table of hours spent that spans multiple dates for multiple people doing multiple activities for multiple projects. I want to multiply the hours by a billable rate table where the rates differ by activity the multiply the results by a change factor (the billable rate is in British Pounds and I need to convert to USD) that changes each month. I have set a relationship to the Activities and the Date fields. I cannot figure out how to multiple all of the hours for one month by the rate for the activity and then adjust the result by the change factor for that month.
There is one step that confuses me and it may be why the results appear to be incorrect.
I'm not sure how multipleforonmonth = CALCULATE(SUM([mutiply]),FILTER(ALL(Timesheet),[month/year]=EARLIER([month/year]))) works. I am assuming it should sum the total hour*billable rate, by month, by activity name. The results are coming out much too high (billions of $ when it should be hundreds of thousands of $).
My relationships match your example and the formulas as well.
Here is what I am seeing. I created a page that displays the Month/Year from the GDP to USD table, the Month/Year from the Timesheet Table, and multiply, multiplyforonemonth and final result from the Timesheet table.
I then used a filter to display just one month/year (3/2018).
I believe what I should see is that multiply ($16,588.75) and multipleforonemonth ($28,742,322.00) should be equal but they are not.
The final result appears to be applying the correct factor of 1.4082
What does multipleforonemonth do that is a next step after multiply?
If I change to: final result = [mutiply]*RELATED('GBP to USD'[Rate]), I believe I have the correct answer ($23,360) but I would still like to know what multipleforonemonth is intended to calculate.
(Sorry, I have screen captures to share but for the life of me, cannot figure out how to insert them using the icon above)