Forum Discussion
Calculating Cumulative Returns from Daily Returns tables
Replace the MIN('Date'[Date]) with CALCULATE( MIN('Date'[Date]), ALLSELECTED('Date'))
This is what I have now:
- johnt754 years ago
Super User
That looks correct to me. You are using a column from the Date table on your visual, not a column from the MH-ALL table?
Are there any other filters being applied, or any other relationships which could be impacting on the calculation?
- Anonymous4 years agoNot applicable
So I have a date table which is associated wtih my Data table (MH-ALL) whcih also has a Date column. But I think the issue is that returns are not additive like Sales numbers etc. but are compounded through time which is why in other BI softwares, like Qlik or Tableu, the expression first converts daily returns into Log returns, then cummulates them (running total in BI speak), then converts the result into an exponent, as per my QLIK/Tableau expression below.
Olivier
- johnt754 years ago
Super User
Ah, sorry, can't help with that