Forum Discussion
Brianoreilly
7 years agoHelper II
Dynamic Date Slicer: Date Table and Source Table with Two Date Columns
Hi Community, I have a problem. I have a number of measures that I need to build via a method of using a date slicer to sum the value between two dates. (See Screenshot below). I n...
- 7 years ago
You may refer to the DAX below.
Measure = SUMX ( FILTER ( Timecard, Timecard[Start Date] >= MIN ( 'Date'[Date] ) && Timecard[End Date] <= MAX ( 'Date'[Date] ) ), Timecard[Total Hours] )
v-chuncz-msft
7 years agoCommunity Support
You may refer to the DAX below.
Measure =
SUMX (
FILTER (
Timecard,
Timecard[Start Date] >= MIN ( 'Date'[Date] )
&& Timecard[End Date] <= MAX ( 'Date'[Date] )
),
Timecard[Total Hours]
)