Forum Discussion
Count of Roles per use based on two slider dates
what i want to do is create a mesure for the "countDisRoles" for "Min Date slicer" measure and another measure for the "Max Date slicer"
and them be able to use these two new measures in future calcualtions i.e. the difference in count from Min to Max.
thanks in advance
rafterse , Try measures like
new measure =
var _max = maxx(allselected(Date),Date[Rank])
return
calculate( DISTINCTCOUNT(Table[Column]), filter('Date', 'Date'[Date] =_max))
new measure 1=
var _min = Minx(allselected(Date),Date[Rank])
return
calculate( DISTINCTCOUNT(Table[Column]), filter('Date', 'Date'[Date] =_min))
1 Reply
- amitchandak
Super User
rafterse , Try measures like
new measure =
var _max = maxx(allselected(Date),Date[Rank])
return
calculate( DISTINCTCOUNT(Table[Column]), filter('Date', 'Date'[Date] =_max))
new measure 1=
var _min = Minx(allselected(Date),Date[Rank])
return
calculate( DISTINCTCOUNT(Table[Column]), filter('Date', 'Date'[Date] =_min))