Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

dates between

what syntax should i use to calculate the total change in Total Fund AUM between any date period (might be over a quarter, several months, or years) and how would I then calculate the % change over s...
  • Interkoubess's avatar
    8 years ago

    Hi Anonymous,

     

    Could you please give a sample data or Pbix document and explained the expected output?

     

    Thank you.

  • Anonymous's avatar
    Anonymous
    8 years ago
    Date Sum of Total Fund AUM (€)
    29/05/15   56,925,158.70
    30/06/15   60,891,932.05
    31/07/15   60,337,044.27
    31/08/15   59,042,780.04
    30/09/15   56,309,602.23
    30/10/15   58,346,595.71
    30/11/15   57,140,401.57
    30/12/15   55,540,912.99
    29/01/16   53,740,042.79
    29/02/16   51,836,507.49
    31/03/16   54,670,963.96
    29/04/16   56,804,403.24
    31/05/16   56,873,734.39
    30/06/16   56,923,009.12
    29/07/16   59,465,623.74
    31/08/16   61,406,589.78
    30/09/16   61,190,605.66
    31/10/16   62,240,636.47
    30/11/16   61,797,959.57
    30/12/16   65,093,163.68
    31/01/17   66,654,099.06
    28/02/17   68,859,996.54
    31/03/17   69,151,416.24
    28/04/17   70,579,049.73
    31/05/17   71,064,725.33
    30/06/17   70,741,885.90
    31/07/17   71,571,186.42
    31/08/17   71,815,844.46
  • Interkoubess's avatar
    Interkoubess
    8 years ago

    Hi Anonymous,

     

    I created a calendar table and linked it to the data table ( called data) and the I created these measures below ( you can create only 2 measures with variables):

     

    Monthly Fund = CALCULATE(SUM(Data[Fund AUM (€)]))
    
    Prev Monthly Fund = CALCULATE([Monthly Fund],PREVIOUSMONTH(TabCalen[Date]))
    
    Diff = [Monthly Fund]-[Prev Monthly Fund]
    
    Percentage = DIVIDE([Diff],[Prev Monthly Fund],BLANK())

    here are the relashionships:

     

     

    And then the report....

     

     

    Let us know if you have any observations...

     

    Ninter