Sales plan growth scenarios

  1. Open a Power BI Desktop model locally, and from the Modeling tab of the Report View, click on New Table.
  2. Use the DATATABLE() DAX function to create a calculated table with the scenario name, scenario value, and a sort key:
Plan Scenarios = DATATABLE("Plan Scenario",STRING, "Var to Plan",DOUBLE, "Scenario Sort",INTEGER, {{"Plan",1,3},{"10% Above Plan",1.1,2},{"20% Above Plan",1.2,1}, {"10% Below Plan",.9,4}, {"20% Below Plan",.8,5}})
Ideally, the new scenario table can be persisted within a data warehouse and the Power BI solution can be resilient to changes in scenario names and values. Per other recipes, using DAX to create tables or columns should generally be thought of as a secondary and temporary option, ...

Get Microsoft Power BI Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.