Forum Discussion
Date Difference Calculation with what if parameters
- 4 years ago
Anonymous , if you select a date and you need data more than data you need to have slicer on independent date
//Date1 is independent Date table, Date is joined with Table
new measure =
var _max1 = maxx(allselected(Date1),Date1[Date])
var _min = _max1var _max =_max1 + [What if meausre]
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_min && 'Date'[Date] <=_max))
Anonymous , if you select a date and you need data more than data you need to have slicer on independent date
//Date1 is independent Date table, Date is joined with Table
new measure =
var _max1 = maxx(allselected(Date1),Date1[Date])
var _min = _max1
var _max =_max1 + [What if meausre]
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_min && 'Date'[Date] <=_max))
- Anonymous4 years agoNot applicable
Spot on amitchandak , thank you for your help!