Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

What if parameter increased per year

Hi, Im trying to create a What if parameter for end user to select "attrition rate" for example user would select 5% per year. Then in my "Line and stacked column chart" i would have x axis as da...
  • camargos88's avatar
    6 years ago

    Anonymous ,

     

    You need to create this measure:

     

    _Accumulate = SUM('Table'[Employees]) - ((RANKX(ALL('Table'[Year]), CALCULATE(MIN('Table'[Year])),, ASC) * Parameter[Parameter Value]) * SUM('Table'[Employees]) / 100)

     

     

     

    Check the attached file.