Forum Discussion
NextMonth and Next Quarter ()
NEXTMONTH() works a bit different from what you expect.
https://docs.microsoft.com/en-us/dax/nextmonth-function-dax
Returns a table that contains a column of all dates from the next month, based on the first date in the dates column in the current context.
You need to test if your Filing Due Date is in the NEXTMONTH() table.
DueNextMonth := 'EFSS Entities'[Filing Due Date] IN NEXTMONTH(Dates[date])
Hi,
I am not seeing the expected results. I am getting just "False" for every row. Include July rows
I did try using DateAdd function, but many rows are having blank values. Any thoughts how to fix?
- lbendlin6 years ago
Super User
Did you link in your Dates table? Or do you want to compare to "Today" only?
- senthil_venkat6 years agoFrequent Visitor
I am not using any dates table. Just need to compare the filing date to Today's date and list out which are the rows that will be due next month and next quarter.