Forum Discussion

Vickram's avatar
Vickram
Helper III
5 years ago
Solved

when passing the value returned from MAX function, the DAX returns incorrect output

I have a measure which calculates the current year:  Current Year = YEAR(TODAY()). This returns 2020 and I can visualize it in a Card visual.   Another measure to calculate max year in my data:  Ma...
  • amitchandak's avatar
    5 years ago

    Vickram , Should have worked. Try this change and check

     

    Max Forecast Year = MAXX(allselected(PopForecastTest),PopForecastTest[year])