The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
Solved! Go to Solution.
@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))
@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))