Forum Discussion
Anonymous
4 years agoNot applicable
Advanced Relative Date Filtering - 6 months after specific date
Hello! I have to create a visual that shows data from 6 months after an specific date. The goal is to analyze KPIs from campaingns in the first 6 months after they were released. It will show onl...
- 4 years ago
Anonymous , if you select a date and want to data more than that. Then slicer need to be independent date table
//Date1 is independent Date table, Date is joined with Table
new measure =
var _min= maxx(allselected(Date1),Date1[Date])
var _max= eomonth(_max, 5)
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_min && 'Date'[Date] <=_max))
amitchandak
4 years agoSuper User
Anonymous , if you select a date and want to data more than that. Then slicer need to be independent date table
//Date1 is independent Date table, Date is joined with Table
new measure =
var _min= maxx(allselected(Date1),Date1[Date])
var _max= eomonth(_max, 5)
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_min && 'Date'[Date] <=_max))