Forum Discussion
MTD compared to Dynamic Month
- 4 years ago
newgirl , You might need to use an independent date slicer for that select a range there and use that in an measure
a new measure. Assume date is joined table and date one is independent table from where you will select month
var _max = maxx(allselected('Date1'), 'Date1'[Date])
var _min = maxx(allselected('Date1'), 'Date1'[Date])
return
calculate(sum(Table[Value]), filter(all('date'), 'Date'[Date] >=_min && 'Date'[Date] <=_max ))Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI
How to use two Date/Period slicers :https://www.youtube.com/watch?v=WSeZr_-MiTg
newgirl , You might need to use an independent date slicer for that select a range there and use that in an measure
a new measure. Assume date is joined table and date one is independent table from where you will select month
var _max = maxx(allselected('Date1'), 'Date1'[Date])
var _min = maxx(allselected('Date1'), 'Date1'[Date])
return
calculate(sum(Table[Value]), filter(all('date'), 'Date'[Date] >=_min && 'Date'[Date] <=_max ))
Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI
How to use two Date/Period slicers :https://www.youtube.com/watch?v=WSeZr_-MiTg