Forum Discussion
undefined
- 3 years ago
Anonymous , In case you select one month and want display(On axis) three months you need slicer on and an independent table
//Date1 is independent Date table, Date is joined with Table
new measure =
var _min= Minx(allselected(Date1),Date1[Date])
var _max= eomonth(_min,3)
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_min && 'Date'[Date] <=_max))Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI
Anonymous , In case you select one month and want display(On axis) three months you need slicer on and an independent table
//Date1 is independent Date table, Date is joined with Table
new measure =
var _min= Minx(allselected(Date1),Date1[Date])
var _max= eomonth(_min,3)
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_min && 'Date'[Date] <=_max))
Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI