Forum Discussion
Projected Revenue Based on Average Per Day
Hello,
Below is some sample data. [Days Since Install] and [Days Until Removal] are fields calculated based on today's date.
I have a measure which works out a [Cumulative Revenue To Date].
I have a measure which works out [Average Revenue per Day] ([Total Revenue] / [Days Since Install])
I have a measure which works out [Projected Revenue] ([Average Revenue per Day] * [Total Days of Install])
On a chart, I have managed to show [Cumulative Revenue To Date] so an incrementally increasing line chart (see below).
With the above measures, I can see a final [Projected Revenue] for the duration of an installation of a project. However, what I would like to do (if possible) is see this broken down by day and show it on the [Cumulative Revenue To Date] chart.
I assume I need to divide [Projected Revenue] by [Days Since Install] then produce a cumulative measure for this. I'm just not sure if that will work on the chart below.
I've done a very crude drawing of what I would like to do below. I can do the orange bit - it's the blue I'm struggling with.
I have managed to get the [Installation Date] as my minimum on the X axis and [Removal Date] as my maximum but I am struggling in working out whether I can see [Projected Revenue] by day, beyond the actual [Cumulative Revenue To Date].
I hope this helps explain what I'm after. I really appreciate the help!
Sample Data
| Date of Order | Location | Amount Paid | Net Revenue | Transaction Fees | Installation Date | Removal Date | Days Since Install | Days Until Removal | Total Days of Install |
| 01/12/2024 | Project 1 | 3 | 2.76 | 0.24 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 01/12/2024 | Project 1 | 2 | 1.77 | 0.23 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 02/12/2024 | Project 1 | 3 | 2.75 | 0.25 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 02/12/2024 | Project 1 | 2 | 1.77 | 0.23 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 03/12/2024 | Project 1 | 3 | 2.75 | 0.25 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 03/12/2024 | Project 1 | 3 | 2.76 | 0.24 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 04/12/2024 | Project 1 | 2 | 2.76 | 0.24 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 04/12/2024 | Project 1 | 3 | 2.75 | 0.25 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 05/12/2024 | Project 1 | 2 | 1.76 | 0.24 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 05/12/2024 | Project 1 | 3 | 2.77 | 0.23 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 06/12/2024 | Project 1 | 2 | 1.75 | 0.25 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 06/12/2024 | Project 2 | 3 | 2.77 | 0.23 | 06/12/2024 | 02/02/2025 | 9 | 44 | 53 |
| 07/12/2024 | Project 2 | 3 | 2.75 | 0.25 | 06/12/2024 | 02/02/2025 | 9 | 44 | 53 |
| 07/12/2024 | Project 1 | 2 | 1.76 | 0.24 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 08/12/2024 | Project 2 | 3 | 2.76 | 0.24 | 06/12/2024 | 02/02/2025 | 9 | 44 | 53 |
| 08/12/2024 | Project 2 | 2 | 1.75 | 0.25 | 06/12/2024 | 02/02/2025 | 9 | 44 | 53 |
| 09/12/2024 | Project 1 | 3 | 2.76 | 0.24 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 09/12/2024 | Project 2 | 3 | 2.77 | 0.23 | 06/12/2024 | 02/02/2025 | 9 | 44 | 53 |
| 10/12/2024 | Project 1 | 3 | 2.75 | 0.25 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 10/12/2024 | Project 1 | 3 | 2.77 | 0.23 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 11/12/2024 | Project 2 | 2 | 1.75 | 0.25 | 06/12/2024 | 02/02/2025 | 9 | 44 | 53 |
| 12/12/2024 | Project 1 | 3 | 2.76 | 0.24 | 01/12/2024 | 20/12/2024 | 14 | 6 | 20 |
| 12/12/2024 | Project 2 | 3 | 2.76 | 0.24 | 06/12/2024 | 02/02/2025 | 9 | 44 | 53 |
| 13/12/2024 | Project 2 | 3 | 2.75 | 0.25 | 06/12/2024 | 02/02/2025 | 9 | 44 | 53 |
| 14/12/2024 | Project 2 | 3 | 2.75 | 0.25 | 06/12/2024 | 02/02/2025 | 9 | 44 | 53 |
Needs a disconnected calendar table, and you will need to consider how to display the individual projects.
Note: This should normally be done via LINESTX.
- NMC201 year agoHelper I
Thank you for this! I will give this a try next week.
- NMC201 year agoHelper I
I've only just had chance to properly look at what you have created and it exactly what I'm after! Thank you so much for taking the time to help me.
I have a single selection filter to show each project one by one (I never need to see them all together).
I've tried to recreate your work but the Actuals RT and Forecast RT measures are coming back blank.
All I've done is create the disconnected Calendar table with the same DAX as you then created Actuals RT and Forecast RT with the same DAX as you. There are no errors showing, they are just blank. Have I missed something?
- lbendlin1 year agoSuper User
You can use EVALUATEANDLOG to figure out where your results differ from mine. Or provide a different set of sample data
- NMC201 year agoHelper I
Hi again,
I've tried to understand why I can't get my data to match yours but I'm really struggling so I've anonymised my actual report and attached here Power BI Help
I would also like a "cost" line which is permanently across the chart (as it looks now) but that increases each month as the monthly costs are added on to the upfront cost. Basically, I would like this chart to show me when the projected is due to hit the cost line and then how much it increases after that.
Thanks so much for the help so far - I'm doing this in addition to my day job so it's slow going!