Forum Discussion
Anonymous
8 years agoNot applicable
Annual Returns
I am trying to calculate a fund's yearly performance based on monthly returns. In excel we calculate the yearly performance with the formula B12/B2-1 which gives us the total performance for 2015 of ...
- 8 years ago
Hi Anonymous
HOw abou this one?
YTD_Zubair = VAR Previous_YEAR_Closing = CALCULATE ( MAX ( EMCD[Date] ), EMCD[Date] < EARLIER ( EMCD[Date] ) && YEAR ( EMCD[Date] ) = YEAR ( EARLIER ( EMCD[Date] ) ) - 1 ) RETURN DIVIDE ( EMCD[Absalon EM Corporate Debt SICAV NAV], CALCULATE ( SUM ( EMCD[Absalon EM Corporate Debt SICAV NAV] ), EMCD[Date] = Previous_YEAR_Closing ) ) - 1
Anonymous
8 years agoNot applicable
Hi Zubair,
Thanks so much for all your help, that worked just as I hoped. I now need to understand exactly how you have done it. The path to learning Dax is full of ups and downs!
Many thanks again.
Zubair_Muhammad
8 years agoCommunity Champion
HI Anonymous
With time and practise, you will be a master in DAX soon.
This book by Rob Collie and Avi Singh is very good as well
https://www.amazon.com/Power-Pivot-BI-Excel-2010-2016/dp/1615470395