Forum Discussion
Anonymous
7 years agoNot applicable
Calculate with a date range?
Hello, I am trying to replicate what a "SUMIFS" forumla would do in excel with a date range. I have 2 main data tables one that has actual promoted sales units and one that has planned promoted ...
- Anonymous7 years ago
I solved this with a "Datesbetween" formula
Actual Promo Units = CALCULATE([Promo Units CY], DATESBETWEEN('Date'[Date],MAX('Trade Plan 2019'[Start Date]),max('Trade Plan 2019'[End Date])))
Anonymous
7 years agoNot applicable
v-yuta-msft the formula didn't bring in any values - it's all blank
Anonymous
7 years agoNot applicable
I solved this with a "Datesbetween" formula
Actual Promo Units = CALCULATE([Promo Units CY], DATESBETWEEN('Date'[Date],MAX('Trade Plan 2019'[Start Date]),max('Trade Plan 2019'[End Date])))