Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Risk Adjusted Calculations

Hi All! So maybe let me set the context: I started a new position to do revenue reporting for my company and for this, I started learning DAX since Monday!   I created a few Dashboards by now an...
  • Anonymous's avatar
    Anonymous
    6 years ago

    HI Anonymous,

    You can refer to the following steps if they are suitable for your requirements.

    Steps:

    1. do 'unpivot columns' on 'system nr' fields to convert them to attribute and value.

    Unpivot columns (Power Query) 

    2. remove 'system nr' from the attribute field and convert it to number.

    3. save changes return to data view and add calculate column to calculate the value.

     

    Column =
    IF (
        [Risk Adjusted] = "No",
        [Value] / [Incrementality %],
        IF (
            [Attribute] > 2020,
            [Value] / [Incrementality %] * .5,
            IF (
                [Attribute] = 2020,
                [Value] / [Incrementality %] * .75,
                [Value] / [Incrementality %] * .9
            )
        )
    )
    

     

    BTW, I haven't found the 'Risk Adjusted' fields in your table, can you please explain more about this? 

    Regards,

    Xiaoxin Sheng