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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

Calculating asset returns - year, months, quarters, semi-annual, 1yr, 3 yrs, 5 yrs, 10 years, week,



I am trying to get the returns (in this example - yearly. but i also will like to get it the other periods in the topic) from a table that contains  date (in minutes), value, and index (i added the index column - wasn't part of the original table), both periodic (yearly in this instance) returns and cummulative returns.


Below is the link to sample of the table. Not that this is the first 1000 records. The data is over 10 million rows , so i can't put it on excel.




Below is the formula i tried and the output i got using a matrix.











The problem is that the max(data[close]) function returns the  '(highest value of the year/highest value of previous year) - 1', instead of the '(value of the last minutes recorded of the year/value of the last minutes recorded of the previous year)-1'.


Please let me know if further clarication is required.


Thank you!

Frequent Visitor

I have included snapshot of the sample file, should you be unable to open the link.




Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.