Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

TRICKY - Previous Value

Hi Expert

 

I am having a nightmare trying to calculate the previous value DAX Formula as a calculated column. My over data set have over 1 million rows of data.

 

The below is a small sub set of the data. i want to be able to calculate the previous value based on the condition as per my sample data. I have show the expected results in the previos value column..

 

TermsBrandIndexProductDateValueM ColumnPeriodPercentagePay Down BalancePrevious Value
BTMT FeeApple2770% for 9Jan-21475M010995%                              4510
BTMT FeeApple2770% for 9Jan-21475M1109100%                              475475
BTMT FeeApple2780% for 9Feb-21202M011095%                              192202
BTMT FeeApple2780% for 9Feb-21202M1110100%                              2020

1 Reply

  • v-henryk-mstf's avatar
    v-henryk-mstf
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

     

    According to the data model you provided, I cannot understand the calculation logic of the Previous Value field. Can you clarify it in detail and your specific needs so that I can answer it for you as soon as possible.


    Looking forward to your reply.

    Best Regards,
    Henry

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.