I have the following line chart:

Where:

```
(Dotted Yellow line) Receipts Issued Forecast =
VAR Forecast =
CALCULATE(
SUM(Estimate[Receipts issued]),
DATEADD(dimDate[Date], -1, YEAR)
)*'Production Rate %'[Production Rate % Value]
RETURN
IF(
YEAR(MAX(dimDate[Date]))>YEAR(TODAY()),
Forecast,
SUM(Estimate[Receipts issued])
)
(Solid Purple Line) Receipts Issued = Estimate[Receipts Issued]
(Dotted Purple Line) Projected Estimated Demand = CALCULATE(SUM(Estimate[Demand Estimate (Excl 2020-2022)]), FILTER(Estimate, Estimate[Start of Month] >= TODAY()))
(Dotted Orange Line) Estimated Demand = CALCULATE(SUM(Estimate[Demand Estimate (Excl 2020-2022)]), FILTER(Estimate, Estimate[Start of Month] <= TODAY()))
```

The dotted yellow line projects a forecast of receipts that is likely to be issued based on the average number of receipts issued every month prior. The yellow line can also be manipulated by users with a what-if parameter and a slider to adjust the percentage multiplier to see what would happen if the issuance rate of receipts increases by a given percentage amount.

At issue is that I need the dotted purple line, which is also a projection, to adjust to the modified values of the dotted yellow line when the user plays with it. The dotted purple line is therefore the adjusted values of the dotted orange line which represents the estimated demand for receipts which uses the following logic based on the following data set (Where G = the resulting column Receipts Issued Forecast):

I've tried to figure this out by doing this:

`Projected Estimated Demand = CALCULATE(SUM(Estimate[Demand Estimate (Excl 2020-2022)]), FILTER(Estimate, Estimate[Start of Month] >= TODAY())) - [Receipts Issued Forecast]`

but the result doesn't behave the way I anticipate:

As you can see, the dotted purple line jumps back up to the original estimated demand once the yellow dotted line runs out of values rather than continue the projection.

So to reiterate, the dotted purple line (projected estimated demand) is a continuation of the dotted orange line (estimated demand). At a Production rate % multiplier of 0, the dotted purple line essentially continues the upward trend of the dotted orange line. What I need is for the dotted purple line to react to the increased receipts issued forecast (dotted yellow line) such that when the forecast line increases, the purple line decreases accordingly.

As such, the following logic applies to the dotted purple line:

------------------------------

Tom Paulson

------------------------------