Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Converting Lengthy, Complex Excel Formulas into DAX for Power BI Reporting Best Practices?

Hi all - I've been tasked with creating a data model in DAX/Power BI that replicates calculations from a complex Excel workbook which is full of conditionals, locked and relative cell references, col...
  • DataInsights's avatar
    DataInsights
    4 years ago

    Anonymous,

     

    I would start by creating a set of base measures such as Revenue, Costs, etc. Then use these base measures as building blocks for more complex measures. It appears that rows correlate to measures and columns slice by region. Cell B19 is referenced three times in the formula, so you could create a measure that is specific to Region 1 (use CALCULATE with a base measure, filtered for Region 1) and then use that measure in the final measure (cell B20).

     

    The 20% factor can be specified via a parameter (Numeric range, formerly What-if).

     

    If you want the ability to create custom rows that are calculations of other rows, as well as apply custom formatting, try the matrix visuals below:

     

    https://appsource.microsoft.com/en-us/product/power-bi-visuals/xviz.inforiver-premium 

    https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA200000642