Forum Discussion
Compare values from multiple years in column chart
- 4 years ago
Anonymous , First of for this you need a separate year/date table joined to thsi table
second, you can use min and max values
new measure =
var _max = maxx(allselected(Date),Date[Year])
var _min = minx(allselected(Date),Date[Year])
return
calculate( sum(Table[Value]), filter('Table', 'Table'[Date] =_max )) - calculate( sum(Table[Value]), filter('Table', 'Table'[Date] =_min ))Of if you need two date slicers
How to use two Date/Period slicers
Anonymous , First of for this you need a separate year/date table joined to thsi table
second, you can use min and max values
new measure =
var _max = maxx(allselected(Date),Date[Year])
var _min = minx(allselected(Date),Date[Year])
return
calculate( sum(Table[Value]), filter('Table', 'Table'[Date] =_max )) - calculate( sum(Table[Value]), filter('Table', 'Table'[Date] =_min ))
Of if you need two date slicers
How to use two Date/Period slicers