DAX code
Sales with Price Increase =
VAR PriceIncreasePercent = SELECTEDVALUE('Price Increase %'[Price Increase % Value], 0)
RETURN
[Total Sales] * (1 + PriceIncreasePercent)
Applies a user-adjustable What-If parameter (e.g. a price increase %) to a base measure for scenario modeling.
Type your table and column names once. Every measure below updates.
Sales with Price Increase =
VAR PriceIncreasePercent = SELECTEDVALUE('Price Increase %'[Price Increase % Value], 0)
RETURN
[Total Sales] * (1 + PriceIncreasePercent)
Create the 'Price Increase %' What-If parameter from Modeling > New Parameter, then add its slicer to the report.
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to What-If Parameter Scenario.