Forum Discussion
Anonymous
6 years agoNot applicable
Sum between two dates
Hi, In one of my reports I use TOTALMTD to give the monthly values of that month. However I need a daxformula that summarize a value between two dates (will be a static number throughout the repo...
- 6 years ago
Hi @Oscar1133 ,
Here are 2 measures that can satisfy your need:
Test bus salesmen=CALCULATE(SUM(ddd[RT Bus Salesmen]),DATESBETWEEN('Calendar table'[Date],DATE(2019,02,01),DATE(2019,02,28)))O
Test bus salesmen=CALCULATE(SUM(ddd[RT Bus Salesmen]),FILTER(ALLSELECTED('Calendar table'),'Calendar table'[Date]>=DATE(2019,02,01) && 'Calendar table'[Date]<=DATE(2019,02,28)))Saludos
KellyDid I answer your question? Mark my position as a solution!
v-kelly-msft
6 years agoCommunity Support
Hi @Oscar1133 ,
Here are 2 measures that can satisfy your need:
Test bus salesmen=CALCULATE(SUM(ddd[RT Bus Salesmen]),DATESBETWEEN('Calendar table'[Date],DATE(2019,02,01),DATE(2019,02,28)))
O
Test bus salesmen=CALCULATE(SUM(ddd[RT Bus Salesmen]),FILTER(ALLSELECTED('Calendar table'),'Calendar table'[Date]>=DATE(2019,02,01) && 'Calendar table'[Date]<=DATE(2019,02,28)))
Saludos
Kelly
Kelly
Did I answer your question? Mark my position as a solution!
Syndicate_Admin
5 years agoAdministrator
excellent!! contribution!! papaaa!!