Forum Discussion
Show rows only from this month
- 5 years ago
jlarques Hard to know for sure without sample data. Your formula seems overall to be correct although CALCULATE could be causing you some problems due to how it behaves. Are you missing a relationship between Sales and Calendario? Maybe:
Sales by month = VAR __Table = FILTER('Sales',MONTH('Sales'[Date]) = MONTH(TODAY())) RETURN SUMX(__Table,[Total]) - 5 years ago
Hi Greg_Deckler,
don't worry about that.
I have modified other formulas to calculate last year and percentage following your formula and the calculations are correct.
Thanks again for your help, Greg_Deckler!
jlarques Yes, it would be similar, logic for last year. I'm not sure I understand the last part about percentages and January.
Hi Greg_Deckler,
don't worry about that.
I have modified other formulas to calculate last year and percentage following your formula and the calculations are correct.
Thanks again for your help, Greg_Deckler!