Forum Discussion
DAX basis different date columns
- 1 year ago
I think in the EOMONTH you've put 2 instead of -2.
Thanks johnt75 for the response.
However it is giving an error saying cannot convert value 'Oct' of type text to type date. I have double checked, date in slicer has the date format on it........in the Slicer I am taking only Year and Month in one slicer...please suggest
Make sure that you are using the right column in the SelectedMonth variable. Where it says MAX( 'Date'[Date]) that needs to be a column of type date. It doesn't matter which column you use in the slicer.
- sandeep_sharma1 year ago
Helper II
Thanks johnt75
It is now showing some data atleast. But as I go back in the year, it is reducing the numbers which should not be the case....on investigating I found out that for startcurrentmonth variable it is giving me the data of 1/1/25....any idea why?
- sandeep_sharma1 year ago
Helper II
Basically it showing me the date of two months ahead....so if I select nov in slicer then it shows Jan'25 and If I select Jun then it shows Aug'24
- johnt751 year ago
Super User
I think in the EOMONTH you've put 2 instead of -2.