Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

cumulative portfolio returns

I am trying to calculate the cumulative portfolio returns for a fund (GHY Monthly Returns) and an Index (BAML HW00) - see sample of the data. I need to be able to vary the measurement over multiple time frames e.g Quarter to date, year to date, calendar year, rolling 12 months. 

 

Portfolio Returns.PNG

1 ACCEPTED SOLUTION

@Anonymous,

 

You may take a good look at this article.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

9 REPLIES 9
Ashish_Mathur
Super User
Super User

Hi,

 

What result are you expecting?  Please show them in a speprate table.  Also, share the link from where i can download your file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Thanks. I have attached a photo of an excel file which shows how I would work out the numbers in excel. I am struggling to see who I can achieve this in dax. Cumulative returns are not simply the sum of returns over a given period each month's return is multiplied by (1+Previous Months return).

 

I would like to calculate the YTD, QTD and returns over a variety of time periods eg. Last 18 months, rolling 12 months etc. 

 

Excel sample.JPG

Did you ever get an answer to this? I'm faced with the same challenge.

@Anonymous,

 

You may refer to the following DAX that adds a calculated column.

Cumulative Return =
SUMX (
    FILTER ( Table1, Table1[Date] <= EARLIER ( Table1[Date] ) ),
    Table1[Return]
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

While i am eager to help, i still cannot visualise the result that you want.  Please share the following:

 

  1. The exact structure
  2. Fill up actual numbers in that exact structure based on the summyh data that you share

I will then write the DAX formulas to get your desired result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

This is the file that I am using. On the right hand side is a time series of returns for a fund and its index and relative performance. Using the return data I need to be able to calculate the return for each calendar year (the return should be annualised and cumulative for each time period) and for multiple time periods - this could be 6 months, 12 months, rolling 12 months, financial year. I also need to work out a way of rebasing the chart on left side so that it always rebases to 0 when I can the date. 

 

https://www.dropbox.com/s/jqt3hwtb4iywbya/Return%26Risk%20Reporting.pbix?dl=0

 

If this isn't the data form you need just let me know. 

Anonymous
Not applicable

Hi @Anonymous 

 

Did you manage to find a solution. This is exactly what I am looking for.

Hi,

Share a dataset and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Anonymous,

 

You may take a good look at this article.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.