Forum Discussion
nisansala23
3 years agoNew Member
Get the highest value from selected date range
Hi, I'm trying to get the highest value from a date range. below I have mentioned my dax code. it only returns the value related to slicer end date, not the highest value of the date range. Can anyo...
BrianConnelly
Resolver III
3 years agoIf you are trying to get the highest value within a selected date range, try using the Allselected...
var ASPI_VAL = CALCULATE(MAX(BI_SECTOR_HISTORIES[SECTORIAL_INDEX]),
ALLSELECTED(BI_SECTOR_HISTORIES[SECTOR_DATE]))