The closing episode of Season 2 brings parameters and formatting together. Alongside Product Discount, we add a second number parameter to the Parameters pane and use it in a conditional formatting rule on the revenue forecast. Planners change the parameter value and the highlighting in the Planning Sheet updates, so the rule moves with their assumptions instead of a fixed number.
Users should not have to open the Parameters pane to see the discount being applied. This short episode adds a formula column called Rate of Discount that simply references the discount parameter. We set its aggregation for a percentage value, switch on percentage scaling from the Planning tab, and check that the column follows the slider in the Parameters pane.
Discounts shape how many units you sell, so a forecast should account for them. Parameters act as variables and live in the Parameters pane. We create a page-level number parameter called Product Discount, ID discount, shown as a percentage on a 0 to 25% slider in 0.5% steps and visible in read mode. Then we reconfigure the Units Forecast open period formula to Revenue Forecast / (Price Forecast * (1 - discount)). Move the slider and units rise with the discount.
The previous episode built a forecast measure for data input. This one builds a forecast measure from a formula: Units Forecast. For the closed periods, the formula is Revenue Actual divided by product selling price average, both native measures. For the open period, it is Revenue Forecast divided by Price Forecast, rounded to whole units. Change revenue to 81M, or a Bluetooth speaker price to $80 per unit, and Units Forecast updates.
A forecast measure extends time beyond what the semantic model holds. To set up a real-life case, we filter the data to 31 December 2025, then use Model > Forecast to create Revenue Forecast for January to December 2026. The closed period copies Revenue Actual, and the open period is a data input measure pre-filled with 2025 actuals. Hide the closed periods, type 80M into the total, and the value spreads by each cell's weight.
Pricing is a sensitive driver, and in most teams only a few people should be able to change it. This short episode adds a security layer to the data input measures built so far. We restrict Price Forecast and the Price Change checkbox to named users, so only those people can lock or unlock price changes and simulate prices across the dimensions in the model.
A checkbox on its own does nothing. This episode puts one to work. We create Price Change as a Boolean checkbox visual measure, checked by default for every month. Then we edit Price Forecast and set Allow input to Based on formula, with Price Change != 0. Uncheck a cell and its price is greyed out and locked. Change a total and the spread skips the locked cell while the subtotals still average correctly.
Text measures come in several types, and this episode uses single select. We add it as a visual column, not a visual measure, because a product class only needs to appear once rather than in every time period. The column is called Classification, with a list of A class, B class and C class shown as coloured chips. Then we set the class for each product in the hierarchy, starting with the Bluetooth speaker.
Season 1 introduced the formula measure. Episode 2 uses one for a new job: Units Plan, calculated as Revenue Plan divided by Price Forecast and wrapped in a ROUND with zero significance. Because both inputs are data input measures, Units Plan now moves whenever either driver changes. We add 2% to the Revenue Plan total to show it, then tidy Price Forecast with a dollar prefix and a per unit suffix.
Season 2 opens with pricing. Product selling price average comes from the semantic model, so it averages by month but sums at quarter and year. We fix that with the totals aggregation settings, switching row and column to average leaf. Because a native measure cannot be edited, we then create Price Forecast as a data input measure copied from it, so planners can set the price of every product by product family, channel, city, country and region.